3.2.1 • Published 7 years ago
ember-syfl-blueprints v3.2.1
ember-syfl-blueprints
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.
Compatibility
- Ember.js v2.18 or above
- Ember CLI v2.13 or above
Installation
A blueprint to add icons in ember-syfl-ui
Installation and Usage
Installation
$ npm install ember-syfl-blueprints --save-devUsage
For a component:
$ ember g component some-componentFor an icon:
$ ember g ui-icon icon-name$ ember g ui-icon icon-name --modifier=fas --font-name=checklistFor a Storyful icon:
$ ember g ui-icon icon-name --syfl-iconNotes
Contributing
Installation
git clone <repository-url>this repositorycd ember-syfl-blueprintsnpm install
Running
npm run lint:hbsnpm run lint:jsnpm run lint:js -- --fix
Running tests
ember test– Runs the test suite on the current Ember versionember test --server– Runs the test suite in "watch mode"ember try:each– Runs the test suite against multiple Ember versions
Updating code
If you'd like to add changes, please send a PR with your changes and make sure at least one other person reviews it!
License
This project is licensed under the MIT License.