gateway/app/javascript/controllers/hello_controller.js
2022-03-25 20:01:50 +02:00

8 lines
157 B
JavaScript

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