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

Proposal: use Vue Macros #516

Open
0x009922 opened this issue Mar 13, 2023 · 0 comments
Open

Proposal: use Vue Macros #516

0x009922 opened this issue Mar 13, 2023 · 0 comments
Labels
enhancement New feature or request next Related to next lib iteration, i.e. based on Vue 3

Comments

@0x009922
Copy link
Contributor

For example, defineOptions() could be used to avoid ugly pattern we use:

Currently

<script lang="ts">
export default {
  inheritAttrs: false,
}
</script>

<script setup lang="ts">
// rest goes here
</script>

With defineOptions()

<script setup lang="ts">
defineOptions({
  inheritAttrs: false
})
</script>

Also, maybe it can be used to solve #515?

@0x009922 0x009922 added enhancement New feature or request next Related to next lib iteration, i.e. based on Vue 3 labels Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next Related to next lib iteration, i.e. based on Vue 3
Projects
None yet
Development

No branches or pull requests

1 participant