Skip to content

Commit 042629c

Browse files
committed
fix: add css auto parse and save to docs.
1 parent ec55432 commit 042629c

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
<!-- CoCreate CSS -->
1515
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css"/>
16-
<link rel="stylesheet" href="https://ws.cocreate.app/docs.css" data-collection="apples" data-document_id="6069ff5042ef8ff5175a5c8d" name="css" type="text/css" />
17-
</head>
16+
<link rel="stylesheet" href="/docs/index.css" data-collection="files" data-document_id="60888216117c640e7596303f" name="src" type="text/css" data-save="true"/>
17+
</head>
1818

1919
<body>
2020
<nav class="nav display:flex align-items:center background:whitesmoke padding-top:10px padding-bottom:10px" data-main_content_id="content" data-scroll="sticky-nav,hide-nav" data-scroll_up="10" data-scroll_down="10" data-collection="components" data-document_id="60395ef42b3ac232657040fd" name="html">

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"clean-webpack-plugin": "^3.0.0",
5454
"file-loader": "^6.2.0",
5555
"html-webpack-plugin": "^4.5.0",
56+
"mini-css-extract-plugin": "^1.5.0",
5657
"style-loader": "^2.0.0",
5758
"terser-webpack-plugin": "^5.1.1",
5859
"uglifyjs-webpack-plugin": "^2.2.0",
@@ -65,9 +66,9 @@
6566
"@cocreate/crud-client": "^1.0.4",
6667
"@cocreate/docs": "^1.0.3",
6768
"@cocreate/floating-label": "^1.0.5",
69+
"@cocreate/hosting": "^1.0.0",
6870
"@cocreate/htmltags": "^1.0.6",
6971
"@cocreate/input": "^1.0.6",
70-
"@cocreate/observer": "^1.0.2",
71-
"mini-css-extract-plugin": "^1.5.0"
72+
"@cocreate/observer": "^1.0.2"
7273
}
7374
}

yarn.lock

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,6 +861,14 @@
861861
"@cocreate/socket-client" "^1.0.2"
862862
mini-css-extract-plugin "^1.5.0"
863863

864+
"@cocreate/crud-client@^1.0.7":
865+
version "1.0.8"
866+
resolved "https://registry.yarnpkg.com/@cocreate/crud-client/-/crud-client-1.0.8.tgz#5f19e88d3a5914d5b35d135ae23fc2326ff4bd91"
867+
integrity sha512-JMx9Wd6mhHtIPIEihOI9CzwR+wddzR+cA8NWtgcuhrtpELB33RyJXHkWftORLPNU72n/9u7vSdy4OPvF3J3nbA==
868+
dependencies:
869+
"@cocreate/docs" "^1.0.3"
870+
"@cocreate/socket-client" "^1.0.9"
871+
864872
"@cocreate/cursors@^1.1.5":
865873
version "1.1.6"
866874
resolved "https://registry.yarnpkg.com/@cocreate/cursors/-/cursors-1.1.6.tgz#0f6a327b91b502e5c15cff972167830b1e5e0d00"
@@ -904,6 +912,15 @@
904912
"@cocreate/utils" "^1.0.0"
905913
mini-css-extract-plugin "^1.5.0"
906914

915+
"@cocreate/hosting@^1.0.0":
916+
version "1.0.0"
917+
resolved "https://registry.yarnpkg.com/@cocreate/hosting/-/hosting-1.0.0.tgz#33877f617f5d6a61a809266d7b629988ee592bb4"
918+
integrity sha512-VuH0CsA+qs3AHhrjEHskZlkooHHD/+Hp/gUM3vu7caFETBbsdrcolrx0w9U+9whaoY48QcROgH5Dpp/gUSw6ag==
919+
dependencies:
920+
"@cocreate/crud-client" "^1.0.7"
921+
"@cocreate/docs" "^1.0.3"
922+
"@cocreate/socket-client" "^1.0.9"
923+
907924
"@cocreate/htmltags@^1.0.6":
908925
version "1.0.6"
909926
resolved "https://registry.yarnpkg.com/@cocreate/htmltags/-/htmltags-1.0.6.tgz#eec58585d53d8559959222b3feb735aefc635f29"
@@ -937,6 +954,15 @@
937954
mini-css-extract-plugin "^1.5.0"
938955
ws "^7.4.4"
939956

957+
"@cocreate/socket-client@^1.0.9":
958+
version "1.0.9"
959+
resolved "https://registry.yarnpkg.com/@cocreate/socket-client/-/socket-client-1.0.9.tgz#e9604f906ef50bc6563832c61457d9b136591733"
960+
integrity sha512-RWNcqJWkS+Y0nfJvA3dbEy4nV48vX9XGLtzjfXqYwvg9NfnZ+Nfis/+BnV1AK5aU6QC/XrxrSFcuEfrp+lc/mg==
961+
dependencies:
962+
"@cocreate/docs" "^1.0.3"
963+
mini-css-extract-plugin "^1.5.0"
964+
ws "^7.4.4"
965+
940966
"@cocreate/utils@^1.0.0":
941967
version "1.0.3"
942968
resolved "https://registry.yarnpkg.com/@cocreate/utils/-/utils-1.0.3.tgz#3eefcb4a9b309dbf94d5796078745f715eb264ad"

0 commit comments

Comments
 (0)