Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rogeraraujo90 opened this issue Feb 11, 2023 · 0 comments
Open

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

rogeraraujo90 opened this issue Feb 11, 2023 · 0 comments

Comments

@rogeraraujo90
Copy link

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 approach. So I have the styles in app/styles/<addon-name>.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:

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant