This client
folder is generated by the React on Rails gem.
NOTE: Avoid updating NPM package dependency versions, and do not recreate the yarn.lock
file.
The package dependencies are in a fragile state where their versions as defined in the yarn.lock
file is necessary to have Karma tests correctly working.
See documentation at github.com/shakacode/react_on_rails for details on how it is organized.
If you need additional help, please consider:
- Our ShakaCode Forum for React on Rails.
- Joining our Slack discussion room by emailing us a bit about you and your project.
- Hiring us for coaching and custom web application development for your project.
You can develop React components inside Storybook. To set up Storybook, you will need to set up the if me application first (see the root README.md for installation instructions).
Then from the project root directory, execute the following:
rake i18n:js:export
bin/start_app
# stop the process via CTRL+C
cd client && yarn && yarn storybook