Skip to content

Commit

Permalink
Add webpack option to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Aug 26, 2018
1 parent b239524 commit d780ed3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ To install Canvi get the JS and the CSS file and insert into your project. You c

```html
// To the head
<link rel="stylesheet" href="canvi.css">
<link rel="stylesheet" href="dist/canvi.css">
// To the end of the body
<script src="canvi.js"></script>
<script src="dist/canvi.js"></script>
```

You can also use Canvi in webpack based projects using canvi-webpack.js with import.

```
import Canvi from 'dist/canvi-webpack';
```

## Basic Usage
Expand Down

0 comments on commit d780ed3

Please sign in to comment.