Asset Pipeline in development

35 views Asked by At

What are the steps I need to take in order to use .js and .css files through the asset pipline while in the development environment?

I put images, js and css in the appropriate app/assets folders and I put *= require_tree . in application.css and //= require_tree . in application.js but the page still doesn't look like it did with regular html referencing.

Do I need to precompile with config.assets.precompile += %w( parallax.js )? If so, where?

Also, do I need to run RAILS_ENV=development bundle exec rake assets:precompile?

0

There are 0 answers