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

[QUESTION] Should the app add the scss from the addon too?

Ouverte
#242 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
273
Forks
90
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I'm writing an Ember App and an Ember Addon that will be used in the app.

The addon uses Bootstrap and I want to use the [Alternate Addon Usage](https://github.com/adopted-ember-addons/ember-cli-sass#alternative-addon-usage) approach. So I have the styles in `app/styles/.scss` and I do `@import bootstrap;` there.

When I use this addon in the App the build is failing because it can't do the bootstrap styles import. To fix that, I needed to add this into the `ember-cli-build` of the app:

```js
sassOptions: {
includePaths: ['node_modules/bootstrap/scss'],
},
```

Want to know if this is expected behavior. Thank you!

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.