-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
v-once clashes with v-if #2035
Comments
@yyx990803 The problem reappears when adding a new node with Edit: there is a problem with v-once inside v-for too, I added an example to the same file. |
@yyx990803 the problem is present in v3.0 too |
It's indeed failing on the template explorer |
Version
3.0.0-rc.9
Reproduction link
https://github.com/luka-mikec/vue-once-if-issue-demo
Steps to reproduce
npm run serve
(ornpm run dev
with Vite) and try loading the app in a browserWhat is expected?
The resulting webpage should display "a"
What is actually happening?
Error (vue-cli):
With Vite:
The text was updated successfully, but these errors were encountered: