My homework is to generate a rails app without use javascript, is it possible?i tried to delete all .js files and node_modules after i generate with rails new $appname but i got an error every time, can someone help-me?
When creating your new app, you can skip various components you don't need. Among those components are all JavaScript files. You can thus create your app with:
rails new $appname --skip-javascript
Please refer to the output of rails new --help for other supported options.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With