Use node's npm to download Vue's Open source project on GitHub and run it.
Get ready:
1. Install the node. JS Global installation Node-v check for successful installation
2: Install VUE-CLI use VUE-V to check if installation is successful note is uppercase
Begin:
1. Find the GIT address for the Open source project
2. Use CMD to navigate to the folder under which you want to install the project (you can add the project file to open cmd first)
3. Input command: Git clone https://github.com/sailengsi/sls-admin.git custom name
4. Review the downloaded file structure to navigate to the folder with Package.json, and see if the Package.json within devdependencies are correct
5. Run the command under the project folder: NPM insatll will generate a new folder Node_modules contains the files that our project depends on
6. Running NPM run dev Startup Project under Project view in browser
7. Modify the project and finally use the Webpack packaging project release.
Previously encountered issues:
1.NPM WARN enoent enoent:no such file or directory
A: There is no Package.json file under the folder, use the command NPM Inin, this will produce Package.json files to see if the file is correct
2.cannot find "... bulid\dev-sever.js"
These two problems are actually my own file path has a problem. No understanding.
Npminstall Vuex--save