ember-power-select icon indicating copy to clipboard operation
ember-power-select copied to clipboard

Import ember-power-select styles doesn't work on Addons/Engines

Open villander opened this issue 3 years ago • 3 comments
trafficstars

I have an addon that uses SASS and I'm trying to use the import described in that guide: https://ember-power-select.com/docs/installation

@import "ember-power-select doesn't work on addons and engines inside the monorepo, only works in the ember app.

Is there a hack on #1421 accessing node_modules but I assume it's not what we want here, right?

cc:// @cibernox

villander avatar Feb 14 '22 15:02 villander

TBH I haven't used engines in ... 3 years? Maybe more. If the addon is a direct dependency of the engine, @import "ember-power-select doesn't work? I'm not sure what changes would be required.

cibernox avatar Feb 19 '22 21:02 cibernox

any news on this? Is there a workaround?

BryanCrotaz avatar Sep 22 '22 20:09 BryanCrotaz

The styles very rarely change, if ever. A workaround could be to copy the relevant files from https://github.com/cibernox/ember-power-select/tree/master/app/styles into your app/engine.

cibernox avatar Sep 23 '22 14:09 cibernox