budget/app/javascript/controllers/hello_controller.js

8 lines
157 B
JavaScript
Raw Permalink Normal View History

2022-11-20 15:06:27 -05:00
import { Controller } from "@hotwired/stimulus"
export default class extends Controller {
connect() {
this.element.textContent = "Hello World!"
}
}