vuepress / vuepress-community

:bulb: Community supported ecosystem for VuePress
https://vuepress-community.netlify.app
MIT License
81 stars 62 forks source link

[Question] Installation command #14

Closed jjangga0214 closed 4 years ago

jjangga0214 commented 4 years ago

What's your question?

Screenshot from 2020-01-13 23-25-33

Why does every plugins' installation command example installs packages as dependencies, not devDependencies? They are only used for build process, which should be devDependencies.

meteorlxy commented 4 years ago

Well, that depends. If users are building a vuepress-theme or some other packages, plugins should be dependencies.

jjangga0214 commented 4 years ago

@meteorlxy I see. However I still guess most people(statistically?) who will see it would be Vuepress user, who just wants to install them as devDependency. For them, it'd be cumbersome to edit pasted command. So I think we can make it more "user-friendly" docs by fixing those commands. How do you think?

meteorlxy commented 4 years ago

It's not a critical point 😄

Let's "guess" developers understand what it is before copy and paste.

meteorlxy commented 4 years ago

After some consideration, I've updated the installation guide. Thanks for you suggestion ❤️

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.