We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0012f2 commit a06b840Copy full SHA for a06b840
README.md
@@ -51,6 +51,12 @@ JavaScript Cookie supports [npm](https://www.npmjs.com/package/js-cookie) and [B
51
52
JavaScript Cookie can also be loaded as an AMD, CommonJS or [ES6](https://github.com/js-cookie/js-cookie/issues/233#issuecomment-233187386) module.
53
54
+#### ES6
55
+
56
+```javascript
57
+import Cookies from 'js-cookie';
58
+```
59
60
## Basic Usage
61
62
Create a cookie, valid across the entire site:
0 commit comments