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

Nuxt 3.0.0 support #255

Closed
priverop opened this issue Dec 15, 2022 · 1 comment
Closed

Nuxt 3.0.0 support #255

priverop opened this issue Dec 15, 2022 · 1 comment

Comments

@priverop
Copy link

Right now this package doesn't work on Nuxt 3 as it doesn't auto-import components from modules.

Is there a workaround for it? Should I open an issue on the nuxt framework project?

@priverop
Copy link
Author

priverop commented Dec 15, 2022

Got the fix for it.

In nuxt.config.js you need to define:

  components: {
    global: true,
    dirs: [
      "~/components",
      "node_modules/awesome-ui/components",
    ],
  },

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

No branches or pull requests

1 participant