Skip to content

Commit d999bcf

Browse files
Update README.md
1 parent 8b70250 commit d999bcf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ JavaScript Cookie supports [npm](https://www.npmjs.com/package/js-cookie) and [B
4545

4646
JavaScript Cookie can also be loaded as an AMD, CommonJS or [ES6](https://github.com/js-cookie/js-cookie/issues/233#issuecomment-233187386) module.
4747

48+
#### ES6
49+
50+
```javascript
51+
import Cookies from 'js-cookie';
52+
```
53+
4854
## Basic Usage
4955

5056
Create a cookie, valid across the entire site:

0 commit comments

Comments
 (0)