-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Using custom components with Nuxt #25
Comments
If I understand your question correctly, Nuxt autoloads components so you can just follow the install guide and then in your App.vue... ` This should work. |
If you have followed Sonner's setup instructions, you may have created a To resolve this issue, enclose Your code would then look like the following:
|
@steakscience Since the answers above didn't help me. I did it this way: Import your component anyway at the top of your plugin or vue file
And then pass it as the first param when calling
Hope it helps |
Hi,
I'm trying to figure out how to pass in a custom component when using Nuxt.
I've followed the instructions and created a plugin, but I'm not sure how/where to pass in the custom component
Thanks!
The text was updated successfully, but these errors were encountered: