Bower installation use, Git installation, node installation, WEUI installation development

Source: Internet
Author: User

Bower installation use and git installation

Bower Required: node and git

1. Git Install: (select Second: Use Git from the Windows Command Prompt)
2. Node Installation:
3, determine, configuration is complete,
Open cmd, enter node-v, Node-v, V is the meaning of version, check the revision number, verify the installation is successful
4, install BOWER:NPM Install-g Bower.
NPM is the meaning of node Package Manager, Node JS uses NPM to manage dependent packages (that is, JS class library)
5, installation weui:bower install--save Weui
6. Development
git clone https://github.com/weui/weui.git
CD Weui
NPM Install-g Gulp
NPM Install
NPM Start or Gulp-ws

7. Brief introduction of common commands of Bower:

Cache:bower Cache Management

Help: Displays the Bower Command's helpful information

Home: A GitHub publishing page that opens a package via a browser

Info: View information about a package

Init: Creating a Bower.json file

Install: Package to Project

Link: Establish a project links in the local Bower library

List: Lists the packages that the project has installed

Lookup: Query the URL of a package based on the package name

Prune: Delete Project-independent packages

Register: Registering a Package

Search: Searching packages for projects

Update: Updating a project's package

Uninstall: Deleting a project's package


To view the installed Library Sample table: Bower List

Update a library: Bower update

8. Common error Handling
(1), npm WARN deprecated [email protected]: Please update to Minimatch 3.0.2 or higher to avoid a RegExp DoS issue
Processing method:
(2), npm WARN deprecated [email protected]: Graceful-fs v3.0.0 and before would fail on node releases >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. Use of ' npm ls graceful-fs ' to find it in the tree.
Processing method:

Bower installation use, Git installation, node installation, WEUI installation development

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.