Instructions on how to integrate the CLI into an existing project? #14191
Replies: 1 comment
-
|
Vue CLI is an old tool that wraps webpack. Unless you really, really need to use webpack then Vue CLI should be avoided. I'm unclear from your question whether that's the situation you're in or not. The documentation for Vue CLI is unlikely to be improved at this point as the tool is effectively deprecated. There is a banner at the top of the CLI docs discouraging its use. The current recommendation is to use Vite instead of webpack. To create a project with Vue 3 and Vite you should use the command-line tool |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://vuejs.org/guide/scaling-up/tooling.html#vue-cli
This is the best documentation I can find, and it looks like a giant marketing stunt to me. It only says what you can do and how awesomely it integrates with a world of other tools.
Great.
So what do I actually do?
Please add some instructions on how to install, how to build, how to configure. There's absolutely nothing useful on that page, and it's the most "useful" page that comes up when searching for "cli".
Furthermore, there's the
cli-service, I guess? What's that then? And how is that different from the regular CLI? Also when I install the cli, it installs Vue 2 with it. Brilliant.This is not the first time where the documentation on things is extraordinarily vague. Developers just need a clear & concise set of instructions. Not a kilometre of marketing blabber. Sorry if I sound frustrated, but I am.
Beta Was this translation helpful? Give feedback.
All reactions