Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to generate a rails app without javascript? [closed]

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?


1 Answers

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.

like image 51
Holger Just Avatar answered Sep 07 '26 12:09

Holger Just



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!