Skip to content

Commit c0f3e50

Browse files
AlpacaBikarol-f
authored andcommittedJan 12, 2021
fix README.md
1 parent 7e28412 commit c0f3e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Vue.customElement('widget-vue', CustomWidget, {
142142
}
143143
return root;
144144
},
145-
);
145+
});
146146
```
147147

148148
The additional `beforeCreateVueInstance` is only required if your Vue component has bundled stylings and you are using `css-modules` with Webpack to bundle (which is most use cases). In addition, if you are using `vue-loader` and `vue-style-loader` plugins with Webpack, you will need to pass the `shadowMode: true` option to the plugins also. This is required so the plugins know they that CSS styles should be attached under the `shadowDOM` and not in the `document.head` (which is the default behavior).

0 commit comments

Comments
 (0)
Please sign in to comment.