8000 [docs] Usage Guide webpage should address the issue of updating and maintaining projects, created with vue-cli · Issue #2757 · vuejs/vue-cli · GitHub
[go: up one dir, main page]

Skip to content

[docs] Usage Guide webpage should address the issue of updating and maintaining projects, created with vue-cli #2757

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

Open
revelt opened this issue Oct 16, 2018 · 1 comment

Comments

@revelt
Copy link
revelt commented Oct 16, 2018

What problem does this feature solve?

Our competition, create-react-app, has extensive documentation of how to update both their CLI and apps which were created by their CLI. We should do the same. Currently maintenance aspect is missing in vue-cli Guide documentation pages.

Our vue-cli Guide webpage should address the challenge of maintaining an app, created with vue-cli:

  • how to update dependencies in the project, bootstrapped with vue-CLI (does user have to run CLI which will take care of updates or update all dependencies reinstalling them or what)
  • how to update the vue-CLI itself (confirm is it as simple as global install via npm)

What does the proposed API look like?

we should aim to document all practical aspects of maintaining a project which was created by vue-cli

@LinusBorg
Copy link
Member

We should indeed improve docs here.

The main story is pretty simple:

Update all your cli dependencies like any other npm dependencies. If anything breaks, do the usual schtick: remove node_modules and reinstall everything to get dependencies cleared, then check for any problems with your own config and the new version of plugins.

But some guidance would be surely helpful nonetheless.

Sidenote: we will get a vue update command, see #2428

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
0