-
Notifications
You must be signed in to change notification settings - Fork 23
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
Extract nuxt module #10
Comments
Thanks for your work, this looks nice! (By the way, it's good practice to mention the source if you copy & past code from somewhere). @07akioni Do you prefer to have the nuxt module as part of the naive-ui repo, or do you prefer to move it to nuxt-community? |
@tobiasdiez Thank you , I didn't quite understand what you mean. What do you mean by reference?
We have been using this structure for a long time, but I copied this part because I saw your message here. Do I need to include the link of this code and the message here as a reference? this is okay ? |
I think make it inside naive-ui repo is a better choice. |
+1 any progress? okay, I've seen naive-ui-nuxt |
Nuxt allows to bundle configuration changes and plugins into so-called modules: https://v3.nuxtjs.org/guide/going-further/modules/
Thus, instead of the manually work that is currently necessary, with a naive-ui nuxt module, one could simply have
The following is a first draft of such a module:
The text was updated successfully, but these errors were encountered: