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

fix: support "setup" attribute in <script> tag in vue 3 #667

Merged
merged 1 commit into from Oct 19, 2021

Conversation

piotr-oles
Copy link
Collaborator

In Vue 3, when <script> tag has "setup" attribute, SFC parser assignes script block to a separate field called "scriptSetup"

Closes: #665

In Vue 3, when <script> tag has "setup" attribute, SFC parser assignes
script block to a separate field called "scriptSetup"

✅ Closes: #665
@piotr-oles piotr-oles self-assigned this Oct 18, 2021
@piotr-oles piotr-oles merged commit 2cfe45f into main Oct 19, 2021
@piotr-oles piotr-oles deleted the fix/support-setup-script-in-vue branch October 19, 2021 20:01
@piotr-oles piotr-oles mentioned this pull request Oct 19, 2021
@piotr-oles
Copy link
Collaborator Author

🎉 This PR is included in version 6.3.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@piotr-oles
Copy link
Collaborator Author

🎉 This PR is included in version 7.0.0-alpha.15 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not support Vue3 setup-script block
2 participants