wonder-of-life/app/javascript/controllers/hello_controller.js
2023-10-23 19:31:32 +03:00

8 lines
157 B
JavaScript

import { Controller } from "@hotwired/stimulus"
export default class extends Controller {
connect() {
this.element.textContent = "Hello World!"
}
}