https://github.com/tb/rails-webpack-example
Rails Webpack integration example
https://github.com/tb/rails-webpack-example
Last synced: 9 months ago
JSON representation
Rails Webpack integration example
- Host: GitHub
- URL: https://github.com/tb/rails-webpack-example
- Owner: tb
- Created: 2016-07-11T15:03:01.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-11T15:04:28.000Z (almost 10 years ago)
- Last Synced: 2025-04-04T05:44:56.176Z (over 1 year ago)
- Language: Ruby
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rails5 Webpack
Example [webpack-rails](https://github.com/mipearson/webpack-rails) project
## Installing
bundle
cd frontend
npm i
[Upgrading frontend packages](https://www.npmjs.com/package/npm-check-updates)
## Development
rails s
cd frontend
npm start
## Production
RAILS_ENV=production rails s
npm run build:prod