3.2.1 • Published 6 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-dev
Usage
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
Notes
Contributing
Installation
git clone <repository-url>
this repositorycd ember-syfl-blueprints
npm install
Running
npm run lint:hbs
npm run lint:js
npm 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.