How to correctly "require" in application.css? (skeleton framework)

610 Views Asked by At

I am attempting to use the skeleton-rails CSS framework in my app. I have some containers and a list nav in my app/views/layouts/application.html.erb that I'm trying to style. I've followed the instructions at the skeleton git repo, which include adding gem 'skeleton-rails to the Gemfile. Then I ran bundle install and rails g skeleton:install from my app home directory. As the instructions indicated, this added the following to my app/assets/stylesheets/application.css:

= require base

= require layout

= require skeleton

However, in my file everything is commented out, and the above lines have asterisks (*) in front of them. I've tried ending the comment block before the requires, removing the asterisks and the equal signs, etc, but I'm still not seeing the changes I should see from the skeleton styling when I reload my page. Is there something I'm missing? Thanks in advance for any help.

2

There are 2 best solutions below

1
On
0
On

Per RailsGuides the requires are supposed to remain within the comment block and keep their asterisks and equal signs.