widgets Install VueCli and Setup Template


For install VueCli you should have npm. If you don’t have npm please install the npm.

On console write:
npm install -g vue-cli

There is “-g” means globally. After that, we can use vue command anywhere on our console.

Now we can create our simple vue template with vue init command.

vue init [template-name] [project-name]

Template names: webpack-simple, webpack, simple, browserify …

Run npm install command and install all dependencies.