Last active
August 1, 2019 19:50
-
-
Save hunterae/8cf6aba2cb48be171fdb08ddd8d31176 to your computer and use it in GitHub Desktop.
Install or add Webpacker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ------ FOR A NEW RAILS APPLICATION -------- | |
// From command line | |
rails new webpackerapp --skip-sprockets --webpack | |
// ------ FOR AN EXISTING RAILS APPLICATION -------- | |
// Or add to Gemfile: | |
gem 'webpacker' | |
// From command line | |
bundle install | |
bundle exec rails webpacker:install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment