gulp dev-web
:运行本地web端开发模式,自动watch文件然后编译sass,编译coffee。gulp dev-wap
:运行本地wap端开发模式,自动watch文件然后编译sass,编译coffee。npm run build
:编译文件,这个命令其实是调用:NODE_ENV=dev-online gulp build && NODE_ENV=production gulp build
,改命令会再build下生成两个文件夹,production和dev-online。前者是为了用于线上的测试服务器,后者用于线上的投入运营的服务器。npm run server:dev-web
:运行本地server,代理build文件夹下的dev-online的web,这是为了测试是否build生成的文件能否正确运行。npm run server:dev-wap
:运行本地server,代理build文件夹下的dev-online的wap,这是为了测试是否build生成的文件能否正确运行。npm run server:prod-web
:同上。代理production文件夹下的文件。npm run server:prod-wap
:同上。代理production文件夹下的文件。
This repository has been archived by the owner on Mar 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
blue080/project-init-wap-web-jq
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published