Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to define style within a web component? #3

Open
elvisqi opened this issue May 25, 2019 · 1 comment
Open

How to define style within a web component? #3

elvisqi opened this issue May 25, 2019 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@elvisqi
Copy link

elvisqi commented May 25, 2019

What problem does this feature solve?
I tried to use this plugin to write a UI library, but I found that the styles defined in the component did not take effect, and the template tag in the .vue file could not write style in it, and how to handle it more elegantly.

What does the proposed API look like?
the same solution with webpack:
vuejs/vue-web-component-wrapper#12 (comment)

{
shadowMode: true
}

@znck
Copy link
Owner

znck commented May 28, 2019

It is yet to implement here. vue-loader can be used as a reference.

@znck znck added enhancement New feature or request help wanted Extra attention is needed labels May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants