We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No
https://mitosis.builder.io/?outputTab=IYOw5grgNsBOQ%3D%3D%3D&code=JYWwDg9gTgLgBAbzgVwM4FMDKMCGN1wC%2BcAZlBCHAEQACARssADYAm6UAdMBAPQjAwIqYKioBuAFChIsOACo4OVHFQwAnk3QAPUuUoByGqo3aAVqh7HNW%2FZIkBjCADtVK9ZuUBeNya0d7UOh46AAUCBJwcHRK6ABciBGRcI5M0PH6gSz6ADSJhBKEAJR22jLwbCQ4yEzwJMhO9jDcTnAAsmoAwhSQTuhOMCFg5GCohQmRji7wANpOOCDo2SroMABy8%2BgAunDeaFi4%2BCFU2OgAbuhUxRKJgTDIUC0hiZEAPCzApwB8z0kvwE5gZAwH5JRAccFWdCoDhDCAjEKQ6HRDCFfKg0GnHBMZDoTwIOYLNHoyLODoACxwTgA5riECEzn0YGNPJ9lmsNvTzv0OLgoDSYBxMdj0KiQXAeN9iQAJdBMVIAQjgAElkpS4FB6nB%2FnAAEpBRpLABqOKWmAgTGALCW0DgABlgABHRgseU%2FF48d5fRJXQhAA
Any constants define outside the component function body should be treated as follows:
In Svelte, it should be output in a <script context="module"> tag
<script context="module">
In Vue, it should go into a <script> tag without the setup attribute.
<script>
setup
Currently module scope gets mixed with component scope.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am interested in helping provide a fix!
No
Which generators are impacted?
Reproduction case
https://mitosis.builder.io/?outputTab=IYOw5grgNsBOQ%3D%3D%3D&code=JYWwDg9gTgLgBAbzgVwM4FMDKMCGN1wC%2BcAZlBCHAEQACARssADYAm6UAdMBAPQjAwIqYKioBuAFChIsOACo4OVHFQwAnk3QAPUuUoByGqo3aAVqh7HNW%2FZIkBjCADtVK9ZuUBeNya0d7UOh46AAUCBJwcHRK6ABciBGRcI5M0PH6gSz6ADSJhBKEAJR22jLwbCQ4yEzwJMhO9jDcTnAAsmoAwhSQTuhOMCFg5GCohQmRji7wANpOOCDo2SroMABy8%2BgAunDeaFi4%2BCFU2OgAbuhUxRKJgTDIUC0hiZEAPCzApwB8z0kvwE5gZAwH5JRAccFWdCoDhDCAjEKQ6HRDCFfKg0GnHBMZDoTwIOYLNHoyLODoACxwTgA5riECEzn0YGNPJ9lmsNvTzv0OLgoDSYBxMdj0KiQXAeN9iQAJdBMVIAQjgAElkpS4FB6nB%2FnAAEpBRpLABqOKWmAgTGALCW0DgABlgABHRgseU%2FF48d5fRJXQhAA
Expected Behaviour
Any constants define outside the component function body should be treated as follows:
In Svelte, it should be output in a
<script context="module">
tagIn Vue, it should go into a
<script>
tag without thesetup
attribute.Actual Behaviour
Currently module scope gets mixed with component scope.
Additional Information
No response
The text was updated successfully, but these errors were encountered: