ember-cli-jss-shims
JSS is a better abstraction over CSS for Ember.js Default preset included!
Installation
ember install ember-cli-jss-shims
Usage
After installing ember-cli-jss-shims you can import JSS from the jss
package:
;
of import the internals directly:
;
Have a look at the vendor shim test to understand what else can be imported this way.
Plugins
ember-cli-jss-shims
is able to load default preset for JSS. To enable this feature you need to specify a includePresetDefault
flag in application configuration
// config/environment.js jss: includePresetDefault: true
Then you can import default preset and setup global JSS instance:
;; jss;
Or create a new instance:
;; const jss = ;
Collaboration
The following outlines the details of collaborating on this Ember addon.
Installation
git clone https://github.com/maxmalov/ember-cli-jss-shims
this repositorycd ember-cli-jss-shims
npm install
bower install
Running
ember serve
- Visit your app at http://localhost:4200.
Running Tests
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.
License
ember-cli-jss-shims
is licensed under the MIT License.