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
Hello.
I just figured out that in some file structure parcel produces two separate files - .js and .css.
If you're bundling .html file which includes <script src=".js">, I think parcel attaches style tag to built html file automatically.
However if you're bundling .js file as entry file, it will give you like I said. Is it your case?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
馃悰 bug report
When using Vue Web Components, the styles are not attached to the component
馃帥 Configuration (.babelrc, package.json, cli command)
This is the Babel configuration:
馃 Expected Behavior
Vue Web Component style should be attached to the compoent
馃槸 Current Behavior
It's not attached, see this working demo:
https://78o3xkjmj.codesandbox.io/
馃拋 Possible Solution
This happens in Webpack if
shadowMode
isfalse
, see this comment:vuejs/vue-web-component-wrapper#12 (comment)
馃敠 Context
Vue Web Components is another way to create Web Components. I expected Parcel to work correctly in this simple context.
馃捇 Code Sample
This is the code for the working demo:
https://codesandbox.io/s/78o3xkjmj
The text was updated successfully, but these errors were encountered: