- Published
- Author
- GiritharanSystem Analyst
After pushing my changes to the Fly, I noticed that my Application JS controller wasn't being found. The problem was due to an incorrect line in
To fix it, I changed it to:
These changes ensured that the request was directed to the correct location, and the Stimulus JS controller started working.
#stimulus #assert-not-loading #rails
app/javascript/controllers/application.js. It originally had:Code
import { application } from "./application";To fix it, I changed it to:
Code
import { application } from "controllers/application";These changes ensured that the request was directed to the correct location, and the Stimulus JS controller started working.
#stimulus #assert-not-loading #rails