Panman82 / ember-bootstrap-switch

An ember-cli addon to import bootstrap-switch and provide an Ember component.
MIT License
5 stars 4 forks source link

Better Less Support #3

Closed Panman82 closed 7 years ago

Panman82 commented 9 years ago

Ditto

Panman82 commented 9 years ago

So I've been trying to support automatically bringing in the LESS files if the ember-cli-less addon is installed, but haven't gotten it to work properly. I'll keep trying but if someone knows how an addon can include bower LESS files let me know.

Panman82 commented 8 years ago

So I've found that you must define ember-cli-less as a dependency in the addon. This is not how I wanted to enable support, but rather if the project has ember-cli-less simply have the bootstrap-switch Less files imported and exclude the CSS files... Doing more research but I don't know if this is possible for now. I've updated the README to explain how to use Less for now.

Panman82 commented 8 years ago

Figured out the solution in another addon, just need to implement it here. https://github.com/martndemus/ember-font-awesome/commit/ab97ed483578fd8d5781a076001763cf690a308d

Panman82 commented 7 years ago

Deprecated this addon. ;(