Ionic2 scss


#1

I created custom component using "ionic g component dashLayout"
it created .ts and html file but no scss
so I created scss manually but its not compiling it, any idea how to get scss file working with costume component ?
if I copy scss content to page scss file it works fine but I don’t want to copy scss to each and every page were I inject dashLayout.

and how do I import ion-content in custom component ?


#2

Did you include your new file in app.core.scss?


#3

that worked. thanx a lot.
may be I missed that while reading documents.