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

Enums defined in regular script block aren't exposed to template with script setup #4696

Closed
henribru opened this issue Sep 28, 2021 · 0 comments · Fixed by #4698
Closed

Enums defined in regular script block aren't exposed to template with script setup #4696

henribru opened this issue Sep 28, 2021 · 0 comments · Fixed by #4698

Comments

@henribru
Copy link

Version

3.2.19

Reproduction link

github.com

Steps to reproduce

  1. npm run dev
  2. Open up localhost:3000

What is expected?

All 3 enums should be available in the template

What is actually happening?

Only the enum defined in <script setup> is available in the template, the ones defined in <script> aren't


Followup of sorts to #4369 and #4600

@henribru henribru changed the title Enums defined in regular script block isn't exposed to template with script setup Enums defined in regular script block aren't exposed to template with script setup Sep 28, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants