About the scaffolding for building Vue. Rookie articles

 

     I'm thinking the most bleak thing in the world is that everyone tells you you can't, and you don't want to give up, but you don't want to work hard either.

                                                                                                                                                                       ————— Zhao Quanquan

 

   Build Vue scaffolding

  1. Direct Quote

       Create a new html page and reference the link in the header.

       Address: http://www.bootcdn.cn/vue/  

 

2. Build the Vue Scaffolding ( NPM ) console

     

1. #Latest stable version
       $ npm install vue 

2.
# Install vue-cli globally
$ npm install --global vue-cli
3. # Create a new project based on the webpack template 
$ vue init webpack my-project

4. # Install dependencies, go
$ cd my-project

5. $ npm run dev (output)

 

 

                               The following is a detailed explanation of the contents of the menu.

                                                                

    

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325261756&siteId=291194637