Skip to content

This is a rails demo project for how to use Rails Webpacker to implement todomvc just with react.

Notifications You must be signed in to change notification settings

xifengzhu/rails-webpacker

Repository files navigation

README

This is a rails demo project for how to use Rails Webpacker to implement [todomvc (react version)]

How to play locally

1. get codes

git clone [email protected]:xifengzhu/rails-webpacker.git
cd rails-webpacker

2. use bundler to install ruby gems

bundle install

3. use yarn to install npm packages

yarn install

4. start web server

# start rails server in a terminal
rails s

# start webpack watcher in another terminal
./bin/webpack-dev-server

5. open browser to play with "https://localhost:3000"


Tips

react codes saved in app/javascript/todomvc/.

About

This is a rails demo project for how to use Rails Webpacker to implement todomvc just with react.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published