Skip to content

Commit cfb0c96

Browse files
docs: fix usage instructions in README (#23)
1 parent 669f108 commit cfb0c96

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $ npm i -D eleventy-plugin-wcc
1818

1919
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.
2020
```js
21-
import { wccPlugin } from './src/index.js';
21+
import { wccPlugin } from 'eleventy-plugin-wcc';
2222

2323
module.exports = function(eleventyConfig) {
2424
eleventyConfig.addPlugin(wccPlugin, {
@@ -62,7 +62,7 @@ customElements.define('x-greeting', GreetingComponent);
6262
Add your custom element paths to your _.eleventy.js_ config
6363
6464
```js
65-
import { wccPlugin } from './src/index.js';
65+
import { wccPlugin } from 'eleventy-plugin-wcc';
6666

6767
module.exports = function(eleventyConfig) {
6868
eleventyConfig.addPlugin(wccPlugin, {

0 commit comments

Comments
 (0)