【文件属性】:
文件名称:generator-angular-with-browserify:用于将 angular 与 browserify 捆绑的 Yeoman 生成器
文件大小:43KB
文件格式:ZIP
更新时间:2021-06-21 06:56:26
JavaScript
带浏览器的生成器角度
的生成器。
入门
运行此版本的 yeoman 生成器。 首先,确保你已经安装了yeoman
$ npm install -g yo
要从 npm 安装 generator-angular-with-require,请运行:
$ npm install -g generator-angular-with-browserify
最后,启动生成器:
$ yo angular-with-browserify
其他依赖
[Phantom.js] ( ) - 您可以通过更改浏览器标签在 config/karma.config.js 中更改它
[鲍尔] ( )
[咕噜声]( )
纳帕 (npm -g 安装纳帕)
SASS(宝石安装sass)
指南针(宝石安装指南针)
结构
新结构基于 [ng-boilerplate] ( ),但使用 browserif
【文件预览】:
generator-angular-with-browserify-master
----.gitignore(20B)
----README.md(5KB)
----test()
--------test-load.js(287B)
--------test-creation.js(1KB)
----directive()
--------index.js(944B)
--------templates()
----LICENSE(1KB)
----app()
--------index.js(7KB)
--------templates()
----.gitattributes(12B)
----.jshintrc(389B)
----package.json(894B)
----controller()
--------index.js(952B)
--------templates()
----filter()
--------index.js(840B)
--------templates()
----.travis.yml(269B)
----.editorconfig(214B)
----service()
--------index.js(847B)
--------templates()