I am created a new page and having difficulty including my own custom sass file in the app.
I have added a _custom_page.css.scss under the assets/stylesheets/views directory and expected it to be included when the assets precompile – in application.scss //= require_tree ./views
If you end up to page that actually says “hello this is new page text”, I think you should have everything in place.
The only thing I don’t see from your example is indentation. Haml is very strict about that so I hope you have indented %p inside of div (.special_text).
.special_text
%p hello this is new page text
P.S. I highly recommend that you don’t add styles to tags (like <p>) but only to classes (except in some kind of global normalize/reset.scss file) - it makes life so much easier.
application.css. That’s the only place where we use SASS (or should I say .scss files).
Webpack generates app-bundle.css and it is added to application.haml (through partial called _marketplace_head.haml). App-bundle contains styles that are only used by new React components.