Website/app/assets/controllers/hello_controller.ts
2024-04-22 21:19:59 +02:00

7 lines
224 B
TypeScript

import {Controller} from '@hotwired/stimulus';
export default class extends Controller {
connect(): void {
this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';
}
}