Closed andykov closed 4 years ago
In short Yes. Detailed answer:
Regards
Thanks for the quick response.
@andykov With lazy load Your file is not large. It's splitted to chunks and first file (entry) decides if load the rest.
But if You really want to split files (as in your question) - prepare multiple Webpack entry points - https://webpack.js.org/concepts/entry-points/
Regards.
@karol-f
I sketched an example. https://github.com/andykov/vue-custom-element
How do I insert styles in ShadowDom? I saw the shadowCss option when registering a component, but it's terribly inconvenient to write styles there. I tried to include shadowMode in the webpack, but in this case the styles do not work at all and there is an error in the console (screen) Are there any other ways or am I missing something?
Regards.
Hello. Before digging further, I wanted to ask you.
Will I be able to achieve what I need with this module? I need.
There are no such examples on the network anywhere :(