Answer the question
In order to leave comments, you need to log in
How to include your styles in ember js?
Good afternoon!
Installed ember-quickstart. I created the components I needed, but got into a stupor, I can’t figure out how to connect my style sheets?
There is a styles folder, and it has 1 app.css file. What is in it is connected, but how to connect everything else?
Answer the question
In order to leave comments, you need to log in
Welcome to the world of Ember.js
Styles located in the styles folder can be included via import.
If you want scss then install ember-cli-sass and use app.scss
Styles from bower or npm can be included in the ember-cli-build.js file like this:
app.import(app.bowerDirectory + '/pikaday/scss/pikaday.scss');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question