This addon injects an NS
attribute to each component (the name of the component),
and appends it to the classNames
.
A custom component blueprint adds a <COMPONENT-NAME>.sass
and includes all components/*.sass
files in a _components.sass
file.
- Ember.js v2.18 or above
- Ember CLI v2.13 or above
A blueprint to add icons in ember-syfl-ui
$ npm install ember-syfl-blueprints --save-dev
For a component:
$ ember g component some-component
For an icon:
$ ember g ui-icon icon-name
$ ember g ui-icon icon-name --modifier=fas --font-name=checklist
For a Storyful icon:
$ ember g ui-icon icon-name --syfl-icon
-
git clone <repository-url>
this repository cd ember-syfl-blueprints
npm install
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
-
ember test
– Runs the test suite on the current Ember version -
ember test --server
– Runs the test suite in "watch mode" -
ember try:each
– Runs the test suite against multiple Ember versions
If you'd like to add changes, please send a PR with your changes and make sure at least one other person reviews it!
This project is licensed under the MIT License.