Diagnostic: Stimulus controllers should be exported as the default
Opened this issue · 0 comments
marcoroth commented
Bad:
import { Controller } from "@hotwired/stimulus"
export class HelloController extends Controller {
}
Good:
import { Controller } from "@hotwired/stimulus"
export default class HelloController extends Controller {
}