ember-syfl-blueprints

3.2.1 • Public • Published

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 repository
  • cd 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 version
  • ember 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.

Package Sidebar

Install

npm i ember-syfl-blueprints

Weekly Downloads

8

Version

3.2.1

License

MIT

Unpacked Size

15.9 kB

Total Files

17

Last publish

Collaborators

  • lamabiker