Skip to content

Commit 9edf9ef

Browse files
author
Ubuntu
committed
update readme adn docs
1 parent b092503 commit 9edf9ef

5 files changed

Lines changed: 27 additions & 12 deletions

File tree

README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,25 @@ A simple HTML5 and pure javascript component. Easy configuration using data-attr
66
![GitHub](https://img.shields.io/github/license/CoCreate-app/CoCreate-attributes?style=for-the-badge)
77
![GitHub labels](https://img.shields.io/github/labels/CoCreate-app/CoCreate-attributes/help%20wanted?style=for-the-badge)
88

9-
![CoCreate](https://cdn.cocreate.app/logo.png)
9+
![CoCreate-boilerplate](https://cdn.cocreate.app/docs/CoCreate-boilerplate.gif)
1010

11-
[CoCreate Docs](https://cocreate.app/docs/attributes)
11+
## [Docs & Demo](https://cocreate.app/docs/attributes)
1212

1313

14-
We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/Realtime_Admin_CRM_and_CMS/issues) and [pull requests](https://github.com/CoCreate-app/Realtime_Admin_CRM_and_CMS/pulls) or merely upvote or comment on existing issues or pull requests.
14+
For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/boilerplate)
1515

16-
We appreciate your continued support, thank you!
16+
## CDN
17+
```html
18+
<script src="https://cdn.cocreate.app/boilerplate/latest/CoCreate-boilerplate.min.js"></script>
19+
```
20+
```html
21+
<script src="https://cdn.cocreate.app/boilerplate/latest/CoCreate-boilerplate.min.css"></script>
22+
```
23+
24+
## NPM
25+
```shell
26+
$ npm install @cocreate/boilerplate
27+
```
1728

1829
# Table of Contents
1930

@@ -49,5 +60,9 @@ CoCreate-attributes is maintained and funded by CoCreate. The names and logos fo
4960

5061
We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-attributes/blob/master/CONTRIBUTING.md) guide for details.
5162

63+
We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-boilerplate/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-boilerplate/pulls) or merely upvote or comment on existing issues or pull requests.
64+
65+
We appreciate your continued support, thank you!
66+
5267
# License
5368
[The MIT License (MIT)](https://github.com/CoCreate-app/CoCreate-attributes/blob/master/LICENSE)

demo/CoCreate-builder.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<meta name="robots" content="index,follow" />
1313

1414
<!-- CoCreate CSS -->
15-
<link rel="stylesheet" href="https://server.cocreate.app/css/CoCreate.min.css" type="text/css" />
15+
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
1616

1717

1818
<!-- Font Awesome -->
@@ -297,7 +297,7 @@ <h3 >value 3</h3>
297297
}
298298
</script>
299299

300-
<!--<script defer src="https://server.cocreate.app/CoCreateJS/dist/CoCreate.js"></script>-->
300+
<!--<script defer src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>-->
301301
<script defer src="https://server.cocreate.app/CoCreate-components/CoCreate-attributes/dist/CoCreate-attributes.js"></script>
302302

303303

demo/domEditorPanel.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<meta name="robots" content="index,follow" />
1313

1414
<!-- CoCreate CSS -->
15-
<link rel="stylesheet" href="https://server.cocreate.app/css/CoCreate.min.css" type="text/css" />
15+
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
1616

1717
<!-- Font Awesome -->
1818
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" crossorigin="anonymous" />
@@ -82,7 +82,7 @@ <h3>value 3</h3>
8282
</script>
8383

8484
<!--CoCreateJS-->
85-
<script src="https://server.cocreate.app/CoCreateJS/dist/CoCreate.js"></script>
85+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
8686
<script defer src="../../CoCreate-domEditorPanel/src/domEditorPanel.js"></script>
8787
</body>
8888

demo/iframe.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<meta name="robots" content="index,follow" />
1313

1414
<!-- CoCreate CSS -->
15-
<link rel="stylesheet" href="https://server.cocreate.app/css/CoCreate.min.css" type="text/css" />
15+
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
1616
<link rel="stylesheet" href="../../CoCreate-vdom/src/CoCreate-vdom.css" type="text/css" />
1717
<link rel="stylesheet" href="../../CoCreate-dnd/src/CoCreate-dnd.css" type="text/css" />
1818

@@ -64,7 +64,7 @@ <h3 data-element_id="UOSXmIxqpp150457" data-coc-type="default" data-coc-name=""
6464
}
6565
</script>
6666

67-
<script defer src="https://server.cocreate.app/CoCreateJS/dist/CoCreate.js"></script>
67+
<script defer src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
6868
<!--<script defer src="../../CoCreate-domEditor/src/domEditor.js"></script> depricated-->
6969
<script defer src="../../CoCreate-dnd/dist/dnd.js"></script>
7070
<!--<script defer src="../../CoCreate-domEditorPanel/src/domEditorPanel.js"></script>-->

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<meta name="robots" content="index,follow" />
1212

1313
<!-- CoCreate CSS -->
14-
<link rel="stylesheet" href="https://server.cocreate.app/css/CoCreate.min.css" type="text/css" />
14+
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
1515

1616
<!-- Font Awesome -->
1717
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" crossorigin="anonymous" />
@@ -132,7 +132,7 @@ <h2 class="border-bottom border-color:medium-gray padding:5px_0px">Demo</h2>
132132
</script>
133133

134134
<!--CoCreateJS-->
135-
<script src="https://server.cocreate.app/js/CoCreate.min.js"></script>
135+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
136136

137137
<!-- CoCreate CodeMiirror -->
138138
<script type="text/javascript" src="https://server.cocreate.app/CoCreate-plugins/CoCreate-codemirror/dist/CoCreate-codemirror.js" async></script>

0 commit comments

Comments
 (0)