Replies: 4 comments 5 replies
-
Hey @maxdzin Glad you are still with us! That is quite interesting, in my case, when installing the module like this it is installed as a dev depenendency In general, nuxt modules right now can be safely installed as dev dependencies because they are used to build the project and then they are not needed further. So I would keep it as a dev dependency still. I think we may have some issue with nuxi command as other user reported that there is a problem that the module cannot be located #436 |
Beta Was this translation helpful? Give feedback.
-
@Baroshem I just saw that a corresponding task was created: nuxt/cli#399 |
Beta Was this translation helpful? Give feedback.
-
Just saw this : nuxt/cli#362 So the rule is : if Nuxt is a devDependency, the module will be added as devDependency also. The only annoying thing is that @danielroe : is it correct that Nuxt should always be a devDependency ? |
Beta Was this translation helpful? Give feedback.
-
I talked with Daniel and he said that there is no actual difference in terms of Nuxt modules to be dev dependency or normal dependency :) |
Beta Was this translation helpful? Give feedback.
-
Hi @Baroshem!
I'm glad the module continues developing and evolving.
I have a question regarding the dependencies. I can see that with the latest updates it is recommended way to install it via the command:
which installed the module as dependency, rather than dev dependency as it was previously. Is that correct? If so, can you please explain to me the reason for moving it from dev deps into dev.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions