DEV Community

Ângelo Marcos Rigo
Ângelo Marcos Rigo

Posted on • Edited on

Vuejs3 Project just to learn

Hi, this post is just a quick reminder about how to create a Vuejs project.

First run npm install -g @vue/cli to install Vue Command Line interface.

vue create name-of-the-project-here to create a project.

You can choose manually select features, and them router, vuex, version 3, yes to history mode .

Choose Eslint + prettier
Lint on save.
Place the config file inside a dedicated config file.

cd into the project, and run npm run serve.

Now we have a Vuejs project running at http://localhost:8080.

To build run npm run build inside the project directory.

You also can run vue ui to open a browser instead of a CLI if you like.

Top comments (0)