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