-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
fix(plugin-vue): regenerate scoped css in build watch, fix #7980 #7989
fix(plugin-vue): regenerate scoped css in build watch, fix #7980 #7989
Conversation
Would you explain why this works? I tested it and it does fix the issue, but I think there is something odd with the resulting query, that ends up having |
|
8354108
to
a71a14f
Compare
rebase rebase rebase 👏👏. It should make style / template |
@poyoho Shoud I change template vite/packages/plugin-vue/src/main.ts Lines 101 to 103 in bfab569
|
IIUC, template should rerender tag. when css scopde change will generate .a [data-v-1234567890] {
color: red
} if no change template, template render also keep <div class="a" data-v-0987654321> we should make it to <div class="a" data-v-1234567890> so we should request |
Yes I understand the same. Though I added the change in case. 👍 |
Description
fixes #7980
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).