backbone-boilerplate:用于构建应用程序并将其部署到不同环境的主干样板

时间:2021-07-08 12:18:48
【文件属性】:
文件名称:backbone-boilerplate:用于构建应用程序并将其部署到不同环境的主干样板
文件大小:21KB
文件格式:ZIP
更新时间:2021-07-08 12:18:48
JavaScript 主干样板 使用相同代码库为 Web 和cordova 应用程序构建和部署多个环境的主干样板。 这个样板使用了 、 、 、 、 和 。 入门 npm install bower install npm install ios-sim -g grunt server:prod --cordova 转到http://localhost:9001并在模拟器中查看应用程序 任务 grunt build: 这会将环境构建到dist目录中。 样板包括local和prod环境。 要添加更多环境,只需创建两个文件: env/. www/app/js/settings/env/.js 然后运行命令grunt build: 。 包括--cordova选项,这也将在dist目录中创建和准备cordova应
【文件预览】:
backbone-boilerplate-master
----.jshintrc(436B)
----.gitignore(74B)
----package.json(1KB)
----server()
--------app.js(492B)
--------routes.js(461B)
--------controllers()
--------server.js(325B)
----.bowerrc(40B)
----.travis.yml(295B)
----Gruntfile.js(6KB)
----_config.xml(514B)
----env()
--------.local(14B)
--------.prod(13B)
----.jshintignore(47B)
----README.md(2KB)
----tests()
--------.jshintrc(210B)
--------app()
--------server()
----www()
--------app()
--------robots.txt(14B)
--------cordova_index.html(2KB)
--------index.html(3KB)
--------favicon.ico(1KB)
----Procfile(26B)
----bower.json(279B)

网友评论