Install the node and vue-cli and download the Vue Open source project from GitHub and run

Source: Internet
Author: User
Tags json custom name git clone

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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.