Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanLiu0235 committed Feb 12, 2018
1 parent d95e8d1 commit 40d2851
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ var Leopard = require('leopard-template')
Or you can also load with html `script` tag

``` html
<script src="./node_modules/leopard-template/dist/leopard.min.js"></script>
<script src="./node_modules/leopard-template/dist/leopard.browser.min.js"></script>
```

> Note: `compileFile` is only available at server side, so we build two versions, if you want to use Leopard directly in browsers, use `leopard.browser.js`, otherwise you'll have to use `leopard.server.js`.
## Syntax

Leopard simply implements ejs syntax.
Expand Down

0 comments on commit 40d2851

Please sign in to comment.