DEV Community

Pritesh Bhoi
Pritesh Bhoi

Posted on • Originally published at bhylu.com

How to start a new project using Vue.js

Why Use Vue.js

In a world where a new JavaScript framework becomes available almost hourly, and every time a new framework is released it purports to solve the problems the other apparently don’t and why the new framework is so much better!

Why would any organisation want to take the time an effort to learn how to implement and learn. We for us the answers lay in the following points.

  • Stable progressive framework.
  • Easy to learn and understand.
  • Simple and flexible.
  • Uses MVVM architecture.
  • Comprehensive documentation is available.
  • Focus on organisation / project architecture.
  • Can be used for simple and complex applications.

How to Install Vue

Advice
Vue requires Node.JS 8.9+ so you should ensure you have node installed. If you haven’t got node.js installed we recommend installing Node.js and making use of NVM

To install the vue-cli simply open a terminal window and execute.

npm install -g @vue/cli

How to start a new Vue Project

vue create project-name # _project-name can be anything_

To run the project, simply use the terminal window change into your project directory and execute the npm run serve command.
cd some-project
npm run serve

Website Design Agency

  • Creative website Design for Business, Personal and Blog with adsense. Contact +91 9033863013 bhylu.com

Oldest comments (0)