ecoffee/app/javascript/controllers/hello_controller.js
2025-03-10 18:47:28 +01:00

7 lines
157 B
JavaScript

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