Skip to content

Commit a2a69ac

Browse files
committed
last changes
1 parent 3963723 commit a2a69ac

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

documentation/index.html

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" crossorigin="anonymous" />
1818

1919
<!-- Codemirror -->
20-
<link rel="stylesheet" href="https://server.cocreate.app/CoCreate-components/CoCreate-codemirror/src/CoCreate-codemirror.css" type="text/css" />
20+
<link rel="stylesheet" href="https://server.cocreate.app/CoCreate-plugins/CoCreate-codemirror/src/CoCreate-codemirror.css" type="text/css" />
2121
<link rel=stylesheet href="https://codemirror.net/lib/codemirror.css" async defer>
2222

2323
<!-- Highlight.js-->
@@ -45,7 +45,12 @@ <h2>CoCreate-boilerplate</h2>
4545
<div id="boilerplate-section" class="display:flex flex-wrap:wrap">
4646
<div class="flex-grow:1 min-width:300px width:50% padding:0px_10px margin:20px_0px">
4747

48-
<h2 class="border-bottom border-color:medium-gray padding:5px_0px">Reference</h2>
48+
<h2 class="border-bottom:1px_solid_lightgrey padding:5px_0px">Install</h2>
49+
<pre><code class="language-javascript">npm install cocreate-boilerplate</code></pre>
50+
<p class="padding:10px_0px">Or you can use cdn link:</p>
51+
<pre><code class="language-javascript">https://cdn.cocreate.app/CoCreate-boilerplate.min.js</code></pre>
52+
53+
<h2 class="border-bottom:1px_solid_lightgrey margin-top:80px padding:5px_0px">Usage</h2>
4954
<div class="">
5055
<p class="padding:10px_0px">This is boilerplate reference</p>
5156

@@ -57,22 +62,22 @@ <h2 class="border-bottom border-color:medium-gray padding:5px_0px">Reference</h2
5762
<p class="padding:10px_0px">This is boilerplate reference</p>
5863
<p class="padding:10px_0px">This is boilerplate reference</p>
5964
</div>
60-
<h2 class="border-bottom border-color:medium-gray padding:5px_0px">Attributes</h2>
65+
<h2 class="border-bottom:1px_solid_lightgrey padding:5px_0px">Attributes</h2>
6166
<ul class="list-style-type:none ">
62-
<li class="padding:15px_0px border-bottom border-color:medium-gray">
67+
<li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
6368
<h4><span>data-boilerplate</span> <span class="cocreate-badge success">string</span> <span class="cocreate-badge warning">optional</span></h4>
6469
<p>boilerplate-attribute</p>
6570
</li>
66-
<li class="padding:15px_0px border-bottom border-color:medium-gray">
71+
<li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
6772
<h4><span>data-boilerplate</span> <span class="cocreate-badge success">string</span> <span class="cocreate-badge warning">optional</span></h4>
6873
<p>boilerplate-attribute</p>
6974
</li>
7075
</ul>
7176
</div>
7277

73-
<div class="flex-grow:1 min-width:300px width:50% padding:0px_10px margin:20px_0px border-bottom border-color:medium-gray">
78+
<div class="flex-grow:1 min-width:300px width:50% padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
7479
<!-- SandBox -->
75-
<h2 class="border-bottom border-color:medium-gray padding:5px_0px">Demo</h2>
80+
<h2 class="border-bottom:1px_solid_lightgrey padding:5px_0px">Demo</h2>
7681
<div class="position:sticky top:0 padding:15px_0px height:100vh">
7782
<div class="container svColumn overflow:hidden card border-radius:2px width:auto height:100%" id="form-sandbox">
7883
<div class="font-size:20px position:absolute top:10px right:10px opacity:0.6 z-index:7">

src/CoCreate-calculations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h1 data-calculation="l1 + {id1} * 5 + {id3}/{id2}/0 + {id2}"></h1>
3535
</script>
3636

3737
<script src="https://server.cocreate.app/js/CoCreate.min.js"></script>
38-
<script src="https://cdn.cocreate.app/CoCreateUI.min.js"></script>
38+
3939

4040
</body>
4141
</html>

0 commit comments

Comments
 (0)