-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
script setup: ref imported from a .vue file doesn't work after build #2735
Comments
But wasn't 085bbd5 included in v3.0.4? |
It work fine for me after the fix whether it's dev or build... |
@CHOYSEN It's crazy you don't have
After the build ? I cannot believe it :/ Can you share a screen please ? I've tried again from scratch, and i've got the same result |
I find it, you should remove your |
There are some |
@CHOYSEN thanks a lot, and very sorry for the noise :) |
Version
3.0.4
Reproduction link
https://github.com/stephanedemotte/_issue-vue3-script-setup
Steps to reproduce
Create a fresh vitejs app
helloworld.vue
app.vue
What is expected?
the value should be: true / false
What is actually happening?
After build the ref variable output a weird value
If i try to do
isActive = !isActive
on app.vue, i've got no error on dev, but gotError: Illegal reassignment to import 'isActive'
when i try to buildBuilded link
http://test-vue-export.gaidaandsteph.com/
The text was updated successfully, but these errors were encountered: