https://github.com/eggmantv/rails-webpack-react-template
Rails with Webpack: 从创建,配置到使用和部署
https://github.com/eggmantv/rails-webpack-react-template
react ruby ruby-on-rails webpack2
Last synced: 2 months ago
JSON representation
Rails with Webpack: 从创建,配置到使用和部署
- Host: GitHub
- URL: https://github.com/eggmantv/rails-webpack-react-template
- Owner: eggmantv
- Created: 2017-07-04T00:47:21.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-04T00:52:47.000Z (almost 9 years ago)
- Last Synced: 2025-06-01T00:00:52.544Z (about 1 year ago)
- Topics: react, ruby, ruby-on-rails, webpack2
- Language: Ruby
- Size: 72.3 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rails with Webpack: 从创建,配置到使用和部署
https://eggman.tv/c/s-rails-with-webpack-guide
## 环境要求
- Ruby 2.2+
- Rails 4.2+
- Node.js 6.4.0+
- Yarn 0.20.1+
## 安装
```shell
$ cd rails-webpack-react-template
$ bundle
$ yarn install
$ bin/webpack-dev-server
$ rails s
```
打开浏览器访问localhost:3000