Skip to content

Conversation

johnsoncodehk
Copy link
Member

  • If <script> block does not exist, directly generate script setup code to root scope instead of wrapping it into function scope.
  • Support props interface for generic component.

Fixes #2421

@johnsoncodehk johnsoncodehk changed the title feat: new <script setup> codegen feat: fewer side effects codegen for <script setup> Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant