diff options
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/controllers/hello_controller.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/app/javascript/controllers/hello_controller.js b/app/javascript/controllers/hello_controller.js deleted file mode 100644 index 28fdb13..0000000 --- a/app/javascript/controllers/hello_controller.js +++ /dev/null @@ -1,18 +0,0 @@ -// Visit The Stimulus Handbook for more details -// https://stimulusjs.org/handbook/introduction -// -// This example controller works with specially annotated HTML like: -// -// <div data-controller="hello"> -// <h1 data-target="hello.output"></h1> -// </div> - -import { Controller } from "stimulus" - -export default class extends Controller { - static targets = [ "output" ] - - connect() { - this.outputTarget.textContent = 'Hello, Stimulus!' - } -} |