-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
Vue <script setup>
not working
#4319
Comments
This also might be some form of clash in the way Vue and/or [p]react components are rendered. If preact and react are removed from the If either react or preact integrations are enabled, and the Vue component uses the
It however runs fine on the dev server |
Thanks for digging in, @bluwy! I'll take a look at this. |
Same here, by the way. |
Was looking at this a little more. If you render component 'A' with the |
Same here. Version 1.1.3 |
It works for me! |
What version of
astro
are you using?1.0.5
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
yarn
What operating system are you using?
Mac
Describe the Bug
Importing a Vue component "B" in a Vue component "A" breaks the build, if the import happens in a
<script setup>
block as seen below. This should be working as described here.The following method works, but is cumbersome.
Link to Minimal Reproducible Example
https://github.com/DerYeger/astro-vue-import-reproduction
Participation
The text was updated successfully, but these errors were encountered: