I am working on a app with react_on_rails architecture. However I dont really understand the bootstrap setup. I dont want to use bootstrap so I use the generator with -b option, however I am not sure how to install semantic ui. Is it possible to use the npm module ? Or should I use the gem or both ?
You’re welcome to use any CSS library as you please.
You have 2 choices:
- Configure the Webpack setup to use Webpack to create your CSS assets which allows for CSS Modules, as is currently done in the https://github.com/shakacode/react-webpack-rails-tutorial/.
- Use the regular asset pipeline to do this, as the current React on Rails generator sets up.
Thanks Justin. I will try that.