This README also available in russian.
Awesome Yeoman generator for your AngularJS flowered bem-projects. Wow!
yo bem-ng
yo bem-ng:module users
gulp
gulp build
npm install -g generator-bem-ng
AngularJS modules is BEM blocks. Controllers, routes, services, directives and etc. is BEM elements. Elements required in modules by *.deps.js file.
Levels usage:
Put all your CSS design to:
module example:
application.blocks
users
__controllers
_index
users__controllers_index.js
users__controllers_index.en.md
users__controllers_index.ru.md
_signin
users__controllers_singin.js
_signup
users__controllers_singup.js
__directives
_awesome
users__directives_awesome.js
__factories
__services
__routes
users__routes.js
users.js
users.en.md
users.ru.md
users.deps.js
You can override them with bem-tools techs in .bem/levels/*.js files and also you can write you custom tech in .bem/levels/techs/*.js.
Project contain bem-core and bem-ng libs. bem-core was developed by guys from Yandex.
Please, talk about your ideas by GitHub issues.