more stimulus tests

This commit is contained in:
Ryan W
2023-01-11 22:19:23 -08:00
parent 2d6e6a87fc
commit 96f323a88c
2 changed files with 24 additions and 1 deletions
+14
View File
@@ -1,3 +1,17 @@
<h1>Welcome</h1>
<%= link_to "Articles", articles_path %>
<h2>Stimulus Check</h2>
<div data-controller="hello">
<input data-hello-target="name" type="text">
<button data-action="click->hello#greet">
Greet
</button>
<span data-hello-target="output">
</span>
</div>