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

feat: nuxt auto-import config #492

Merged
merged 2 commits into from
Nov 3, 2023

Conversation

enkot
Copy link
Contributor

@enkot enkot commented Nov 3, 2023

Closes #479

Allows to select components to auto-import in Nuxt config:

// nuxt.config.ts
radix: {
  components: {
    dialog: true,
    alertDialog: true
  }
}

@enkot enkot changed the title Feat auto import select feat: auto import select Nov 3, 2023
@enkot enkot changed the title feat: auto import select feat: nuxt auto-import config Nov 3, 2023
Copy link
Member

@zernonia zernonia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🤩
Thanks @enkot

@zernonia zernonia merged commit 0bc37e7 into radix-vue:main Nov 3, 2023
2 checks passed
@enkot
Copy link
Contributor Author

enkot commented Nov 3, 2023

Just removed a custom radix module from the project 😎
Works great, thanks for the idea!

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.

[Feature]: Add option for radix-vue/nuxt to only auto-import certain components
2 participants