pronounscc/app/javascript/controllers/hello_controller.js

8 lines
157 B
JavaScript
Raw Normal View History

2023-07-20 02:19:45 +02:00
import { Controller } from "@hotwired/stimulus"
export default class extends Controller {
connect() {
this.element.textContent = "Hello World!"
}
}