You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, we don't want to use CoffeeScript engine in Rails application, we want to use JavaScript engine, How do that?
Edit application config in config/application.rb
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 5.1
# replace coffeescript with js
config.generators.javascript_engine :js
end
The text was updated successfully, but these errors were encountered:
Sometimes, we don't want to use CoffeeScript engine in Rails application, we want to use JavaScript engine, How do that?
Edit application config in config/application.rb
The text was updated successfully, but these errors were encountered: