I know that in Ionic 2
I can write style code in page-specific SCSS files in /app/pages/page-name/page-name.scss
, and then include links to these in /app/theme/app.core.scss
. However, this way the page-specific style codes go into the complete app style file, increasing it's size even for pages that many users might never access.
How can I create style code (either inside it's own CSS/SCSS file, or inside a style block in the rendered page) that is only included in one specific page? Is this even recommended in Ionic
?