This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

embroider-css-modules-temporary
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

This project uses GitHub Actions for continuous integration. This project is using Percy.io for visual regression testing.

embroider-css-modules-temporary

embroider-css-modules with renamed {{local-class}} helper

  1. Why use this package?
  2. API
  3. Installation
  4. Contributing
  5. License

Why use this package?

Both ember-css-modules and embroider-css-modules provide a helper named {{local-class}} (with different signatures).

When you have a monorepo with many packages that depend on ember-css-modules, you will want to migrate code in increments. This addon provides {{local}} so that you don't run into a name collision.

In any template, you can mix code from ember-css-modules and embroider-css-modules-temporary.

{{! app/templates/application.hbs }}
<div local-class="container">
  Hello world!
</div>

<div class={{local-class "container"}}>
  Hello world!
</div>

<div class={{local this.styles "container-new"}}>
  Hello world!
</div>

Once the migration is complete:

  • Replace embroider-css-modules-temporary with embroider-css-modules

API

Information about API and compatible versions can be found in embroider-css-modules.

Installation

ember install embroider-css-modules-temporary

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i embroider-css-modules-temporary

Weekly Downloads

18

Version

1.1.2

License

MIT

Unpacked Size

14.6 kB

Total Files

22

Last publish

Collaborators

  • ijlee2