An example for react-sinatra
bundle install
cd client && npm install
cd client && npm run build && npm run build-server
and copy from dist to public
cp dist/bundle.js ../public/
bundle exec ruby app.rb
| Name | Name | Last commit date | ||
|---|---|---|---|---|
bundle install
cd client && npm install
cd client && npm run build && npm run build-server
and copy from dist to public
cp dist/bundle.js ../public/
bundle exec ruby app.rb