Answers for "how to install a package and use it in vuejs 2.0"

48

how to install vue

npm install -g vue-cli    //make sure you have node and npm installed 
vue init webpack <appname>  //  eg:  vue init webpack myapp
cd <appname>               // cd myapp
npm install
npm run dev  //server will start in port 8080
Posted by: Guest on July-03-2020
1

how to install vue

npm install -g @vue/cli   
yarn global add @vue/cli
Posted by: Guest on May-10-2021

Code answers related to "how to install a package and use it in vuejs 2.0"

Code answers related to "Javascript"

Browse Popular Code Answers by Language