1.0.1 • Published 4 years ago
@baidusmart/smart-template v1.0.1
文档
命令
命令 | 描述 |
---|---|
dev | 本地启动server |
start | 本地启动server和安装npm包 |
server:client | 启动本地mock |
server:online | 启动在线mock |
build | 打包文件 |
postinstall | install钩子无需手动执行 |
目录
- build/ 编译配置
- mock/ 接口模拟
- src/ 业务目录
- typings/ 类型检测
- .eslintrc.js eslint配置文件
- .fecsrc.js 提交校验文件
- build.sh build生成目录shell
- ci.yml
- gulpfile.js 编译命令入口
- package.json 配置文件
- pkginfo.json 小程序配置文件
- project.swan.json 小程序配置文件
build/
- compress.gulp.js 编译打包
- config.js 配置文件
- mock.js 接口mock
- postinstall.js install预处理
- process-plugin.gulp.js 环境变量注入
- server.gulp.js 本地server
src/
- assets/ 静态目录
- components/ 组件目录
- modules/ 独立分包
- packages/ 普通分包
- pages/ 页面目录
- skeleton/ 骨架屏
- app.js 小程序入口js
- app.json 小程序入口json配置
- app.less 小程序入口公共css
1.0.1
4 years ago