Serving CSS via Webpack
Learn to style our apps with CSS via Webpack.
We'll cover the following...
Overview of CSS stylesheets
We’ve been writing CSS in files located in app/assets/stylesheets
. Rails will find whatever .css
files are there, bundle them all up together, and make the combined CSS available to your views. If we want to use modern CSS tools or techniques, such as CSS modules or Post CSS, it’s not possible to do so with the default configuration Rails provides. ...