Skip to content

Commit d02b6e3

Browse files
author
Ubuntu
committed
update readme adn docs
1 parent 826f3f5 commit d02b6e3

File tree

3 files changed

+24
-10
lines changed

3 files changed

+24
-10
lines changed

README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,24 @@ A simple dashboard component in vanilla javascript. Easily configured using HTML
66
![GitHub](https://img.shields.io/github/license/CoCreate-app/CoCreate-dashboard?style=for-the-badge)
77
![GitHub labels](https://img.shields.io/github/labels/CoCreate-app/CoCreate-dashboard/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/dashboard)
11+
## [Docs & Demo](https://cocreate.app/docs/dashboard)
1212

13-
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.
13+
For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/boilerplate)
1414

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

1728
# Table of Contents
1829

@@ -48,6 +59,10 @@ CoCreate-dashboard is maintained and funded by CoCreate. The names and logos for
4859

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

62+
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.
63+
64+
We appreciate your continued support, thank you!
65+
5166
# License
5267
[The MIT License (MIT)](https://github.com/CoCreate-app/CoCreate-dashboard/blob/master/LICENSE)
5368

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" />
@@ -137,7 +137,7 @@ <h2 class="border-bottom:1px_solid_lightgrey padding:5px_0px">Demo</h2>
137137
</script>
138138

139139
<!--CoCreateJS-->
140-
<script src="https://server.cocreate.app/js/CoCreate.min.js"></script>
140+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
141141

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

src/dashboard.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
<title>Dashboards | CoCreate</title>
1010

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

14-
<!-- Font Awesome -->
15-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" crossorigin="anonymous" />
14+
1615

1716
<style>
1817
.progressbar {
@@ -174,7 +173,7 @@ <h2>$500</h2>
174173
</script>
175174

176175
<!-- CoCreateJS -->
177-
<script src="https://server.cocreate.app/js/CoCreate.min.js"></script>
176+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
178177

179178
<!-- CoCreate Progressbar -->
180179
<script src="https://server.cocreate.app/CoCreate-plugins/CoCreate-progressbar/src/CoCreate-progressbar.js"></script>

0 commit comments

Comments
 (0)