邹能昇 e7d480fe1f collect page | hai 14 horas | |
---|---|---|
.vscode | hai 3 semanas | |
common-page | hai 3 semanas | |
components | hai 3 semanas | |
libs | hai 3 semanas | |
miniprogram_npm | hai 3 semanas | |
nova-diypage | hai 3 semanas | |
nova-tourism | hai 14 horas | |
pages | hai 3 semanas | |
styles | hai 3 semanas | |
test | hai 3 semanas | |
utils | hai 3 semanas | |
.gitignore | hai 3 semanas | |
README.md | hai 3 semanas | |
app.js | hai 3 semanas | |
app.json | hai 19 horas | |
app.wxss | hai 3 semanas | |
config.js | hai 1 día | |
exportToPlugin.js | hai 3 semanas | |
index.js | hai 3 semanas | |
index.json | hai 3 semanas | |
index.wxml | hai 3 semanas | |
index.wxss | hai 3 semanas | |
karma.conf.js | hai 3 semanas | |
package-lock.json | hai 3 semanas | |
package.json | hai 3 semanas | |
project.config.json | hai 1 día | |
project.private.config.json | hai 1 día | |
settings.json | hai 3 semanas | |
sitemap.json | hai 3 semanas |
# 安装依赖
npm i
# 初始化子项目
npm run nova init nova-doctor
# 开发者工具选择 nova-wapp 目录启动项目
更多目录介绍请查看:目录及开发规范
npm run nova help
> node .release-tool.js help usage: .release-tool.js <command> 命令: .release-tool.js list 列出所有可用小程序清单 .release-tool.js init <appname> 初始化小程序:根据appname 选项: --help 显示帮助信息 [布尔] --version 显示版本号 [布尔]
# 调试打包 完整
rm -r dist/docs/*
jsdoc -c .config-jsdoc.json
cp -r docs/* dist/docs/
http-server ./dist/docs/
# 调试打包
npm run docs
# 发布上线
rsync -avPW dist/docs/ root@server.fmode.cn:/var/www/ng-fmode/wapp/
scp -r dist/docs/* root@server.fmode.cn:/var/www/ng-fmode/wapp/