1. Install the node environment (NPM will be installed automatically when node is installed)
Reference official website: https://nodejs.org/en/download/
2. Installing Vue's Scaffolding tool vue-cli
// Global Install NPM i vue-cli-g
3. Initialize the Webpack project with VUE-CLI (CMD is used here, you can select options)
Vue Init webpack test-project//test-project (project name)
option to choose for yourself
? Project name Test-project//Project Name? Project Description A Test forVue-lic and Webpack Program//Project Description? Author Bek//author? Vue Build Standalone//Select Run + compiler? Install Vue-router? Yes//Routing? Use ESLint to lint your code? Yes//Code Validation Tool?Pick an ESLint preset standard? Set Up Unit tests Yes//Test? Pick a test Runner karma//Select Karma? Setup e2e Tests withNightwatch? Yes//Select Nightwatch? Should we run ' npm install ' forDo you have been created after the project? (recommended) NPM
4. Enter the project and install the response installation package
// Enter Project CD test-project/ Install response installation package NPM I
5. Running
NPM Run Dev
6. Package Online
NPM Run Build
Dist content is packaged successfully
Vue-lic Tool Building Vue-webpack Project