Skip to content

Commit

Permalink
Improved browser usage documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielduarte committed Jan 6, 2020
1 parent de3b2c8 commit 0520df2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ npm i flowed

## Browser

From public CDN
**From public CDN**

```HTML
<script src="https://cdn.jsdelivr.net/npm/flowed@latest/dist/lib/flowed.js" charset="utf-8"></script>
```

From Node.js package
Or change `latest` in the URL for any available version.

**From Node.js package**

```HTML
<script src="./dist/lib/flowed.js" charset="utf-8"></script>
Expand Down Expand Up @@ -189,9 +191,9 @@ The template embedded in the flow is:

```JavaScript
{
day: '{{date.getDay()}}',
day: '{{date.getDate()}}',
month: '{{date.getMonth() + 1}}',
year: '{{date.getYear()}}'
year: '{{date.getFullYear()}}'
}
```

Expand Down

0 comments on commit 0520df2

Please sign in to comment.