vue installation using vue-cli

vue-cli can help us quickly build a vue project directory;


First now vue-cli: npm install --global vue-cli




Then initialize a webpack-based project, name: cvper,

There will be various parameter reminder settings, just come;



Follow the prompts below: cd cvper npm run dev



At the end of the previous step, let me visit: http://localhost:8080, then open it in our browser and take a look:



Well, now our project structure has been quickly built through vue-cli and can be accessed normally;


Guess you like

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