Skip to content
This repository has been archived by the owner on Mar 27, 2018. It is now read-only.

blue080/project-init-wap-web-jq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

project-init-wap-web-jq

主要命令:

  1. gulp dev-web:运行本地web端开发模式,自动watch文件然后编译sass,编译coffee。
  2. gulp dev-wap:运行本地wap端开发模式,自动watch文件然后编译sass,编译coffee。
  3. npm run build:编译文件,这个命令其实是调用:NODE_ENV=dev-online gulp build && NODE_ENV=production gulp build,改命令会再build下生成两个文件夹,production和dev-online。前者是为了用于线上的测试服务器,后者用于线上的投入运营的服务器。
  4. npm run server:dev-web:运行本地server,代理build文件夹下的dev-online的web,这是为了测试是否build生成的文件能否正确运行。
  5. npm run server:dev-wap:运行本地server,代理build文件夹下的dev-online的wap,这是为了测试是否build生成的文件能否正确运行。
  6. npm run server:prod-web:同上。代理production文件夹下的文件。
  7. npm run server:prod-wap:同上。代理production文件夹下的文件。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages