adopted-ember-addons / adopted-ember-addons/ember-cli-sass

What is correct way to use dependencies on both of addon and dummy app?

Aperta
#218 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
273
Fork
90
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

So I have two addons. One of it depends on another. For example Addon A depends on Addon B.

I want to import styles from Addon B, in Addon A but I can't seem get it to work. What is the proper way of doing this? I tried something like this:

`addon-a/app/styles/addon-a.scss`
```
@import 'addon-b';
@import 'pod-styles';
```

But when building the Addon A (via ember build), this file is not processed at all (i dont know why). It looks for addon.scss instead. And failing the build due to missing mixin which declared on addon-b.

Also due to written logic on some components, i need exact same css on dummy folder. I presume I can simply do `@import 'addon-a';` at dummy folder but I couldn't try yet.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.