You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-22Lines changed: 18 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,21 +11,19 @@
11
11
Install from NPM.
12
12
13
13
```sh
14
-
$ npm install eleventy-plugin-wcc --save-dev
14
+
$ npm i -D eleventy-plugin-wcc
15
15
```
16
16
17
17
## Configuration
18
18
19
19
Add the plugin to your _eleventy.js_ config and provide a [`URL`](https://developer.mozilla.org/en-US/docs/Web/API/URL) for all _top level_ custom element definitions you use.
> **Note**: Since [Eleventy does not support ESM yet](https://github.com/11ty/eleventy/issues/836), you will need to use `module.exports = XXX` instead of `export default XXX` for your definitions.
63
-
64
60
### 2. Update Configuration
61
+
65
62
Add your custom element paths to your _.eleventy.js_ config
0 commit comments