ember-css-element-queries

1.0.0 • Public • Published

ember-css-element-queries

Automatically adds css-element-queries to your application and initialises it at boot time.

Installation

ember install ember-css-element-queries

Usage

This addon adds the following code to the header

<script src="/assets/css-element-queries.js"></script>
<script>
  if(typeof FastBoot === 'undefined') {
    ElementQueries.listen();
    ElementQueries.init();
  }
</script>

and makes sure that the css-element-queries code is available for download in your application.

Contributing

Installation

  • git clone <repository-url>
  • cd ember-css-element-queries
  • npm install

Linting

  • 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

Running the dummy application

For more information on using ember-cli, visit https://ember-cli.com/.

License

This project is licensed under the MIT License.

Dependencies (5)

Dev Dependencies (25)

Package Sidebar

Install

npm i ember-css-element-queries

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

5.68 kB

Total Files

5

Last publish

Collaborators

  • real_ate