Web Development

Get Started with first Vue App

Web Development

Get Started with first Vue App

In this article, I will walk you through the steps to create your first vue app. First of all, you need to check that you have Node and npm installed, you can check this by running these commands.

node -v

npm -v

check node

If you don't have a node installed, you can simply go to this link and install node. https://nodejs.org/

After you have installed node, run the commands above to make sure its working as expected. After that you need to install Vue CLI. To istall that globally run these commands.

npm install -g @vue/cli

For yarn lovers, run this

yarn global add @vue/cli

Finally run this command to create your vue app.

vue create vueproject

Now in order to run your app run these commands

cd vueproject

yarn serve

Congratulations on creating your first Vue app!