D
D
Dima Pautov2016-11-23 15:32:30
Ember.js
Dima Pautov, 2016-11-23 15:32:30

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

1 answer(s)
S
Stanislav Romanov, 2016-11-23
@Kaer_Morchen

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 question

Ask a Question

731 491 924 answers to any question