Skip to content

Commit

Permalink
docs(readme.md): updated Bleeding edge version
Browse files Browse the repository at this point in the history
  • Loading branch information
Asif Ahmed authored and asif-ahmed-1990 committed May 6, 2020
1 parent 36182d0 commit f6e302e
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/components/readme.md
Expand Up @@ -36,4 +36,23 @@ You can use [UNPKG](https://unpkg.com/) to query specific versions in your app.
<script src='node_modules/@freshworks/crayons/dist/crayons.js'></script>
```
in the head of your index.html
- Now you can use the element anywhere in your template, JSX, html etc.
- Now you can use the element anywhere in your template, JSX, html etc.


### Bleeding edge version

For a bleeding edge version(highly unstable), you can use the `next` tag.
```bash
npm install @freshworks/crayons@next --save
```
or
```html
<script
type="module"
src="https://unpkg.com/@freshworks/crayons@next/dist/crayons/crayons.esm.js">
</script>
<script
nomodule
src="https://unpkg.com/@freshworks/crayons@next/dist/crayons/crayons.js">
</script>
```

0 comments on commit f6e302e

Please sign in to comment.