- H5 is increasingly popular, in order to facilitate the development of future convenience, hereby write a template generator for future use
- The use of @@ include in HTML supports the introduction of an .inc file
- In the CSS file can be used to scss
- Js in the use of webpack merge the public module, you can have any entry file
- Development can automatically start the Chrome browser, and open the local 3000 port to debug
Development
gulp dev
Release (will compress the css and js, and increase md5)
gulp dist
** node-sass installation failed Solution **: because the installation of `` node-sasswhen it github Releases are hosted in the file
s3.amazonaws.com` above, and this site is always in the country network is not Stable, so we Taobao mirror to download this file.
Directly run the following command
SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/ npm install node-sass
MIT © zanseven007