-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New rails 7 generator issues recently found #100
Comments
app/javascript/controllers/application.js import { Application } from "@hotwired/stimulus"
const application = Application.start()
application.debug = process.env.NODE_ENV === 'development'
window.Stimulus = application
export { application } |
|
I could just be doing things wrong, but when I run the
|
#107 Is now merged which addressed some of these things. @BakoviDagi Yeah things unfortunately don't just "work" out of the box. Not sure what causes it but definitely worth investigation. |
#111 Is fixing a bunch of these. "build": "webpack --config webpack.config.js" is not injected into the existing package.json file. @BakoviDagi The devise install is fixed. @Braden-077 All your items are also fixed I did not address some of the other webpack issues. |
Webpack Generator:
The file /Users/markkraemer/Sites/rolemodel/engage-learn/app/javascript/application.js does not appear to exist
failure will break the generator and prevent it from continuing"build": "webpack --config webpack.config.js"
is not injected into the existing package.json filejsbundling-rails
gem needs to be added to the gemfile, followed by runningbin/rails javascript:install:webpack
stimulus-rails
gem should be added to the gemfile. This gem provides the stimulus generator & thestimulus:manifest:update
task for auto generating the app/javascript/controllers/index.js fileThe text was updated successfully, but these errors were encountered: