namusyaka / react-sinatra-sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An example for react-sinatra

Usage

bundle install

bundle install

npm install

cd client && npm install

build javascripts

cd client && npm run build && npm run build-server

and copy from dist to public

cp dist/bundle.js ../public/

run sinatra

bundle exec ruby app.rb

About


Languages

Language:JavaScript 99.7%Language:Ruby 0.3%Language:HTML 0.0%