undefined method `vite_javascript_tag' on staging environment #347
-
|
Environment: I'm on Rails 6 using the Issue: Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi Alexandra! The error suggests that the Usually, tag helpers are loaded automatically in the railtie included in For example if Feel free to share your |
Beta Was this translation helpful? Give feedback.
Hi Alexandra!
The error suggests that the
TagHelpersare not available in your application.Usually, tag helpers are loaded automatically in the railtie included in
vite_rails, which should only happen ifvite_railsis not being required.For example if
gem "vite_rails"is insidegroup :development, it would be installed locally, but it wouldn't be installed nor required in thestagingenvironment.Feel free to share your
Gemfile.