After spending the last 3 hours working hard to include my CSS files in the vendor/stylesheet/ directory in application.scss, I'm still not having any luck.
The path to the CSS files is:
vendor/assets/stylesheets/
Here is my code in Application.scss:
/*
* This is a manifest file that will be compiled into application.css, which will include all the files listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS files in this directory. Styles in this file should be added after the last require_* statement.
* It is generally better to create a new file per style scope.
*= require custom
*= require pgwmodal.min
*/
This is the code in application.html:
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload',debug: true %>
My project mode is development.
Even after restarting the server and clearing the browser cache, the CSS files are still not properly included.