Move all files to stimulus-esbuild/
This commit is contained in:
parent
4c850b3b40
commit
7588eb0c98
14 changed files with 0 additions and 0 deletions
34
stimulus-esbuild/public/index.html
Normal file
34
stimulus-esbuild/public/index.html
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Stimulus esbuild example</title>
|
||||
</head>
|
||||
<body>
|
||||
<div
|
||||
data-controller="count"
|
||||
data-count-can-be-negative-value="true"
|
||||
data-count-maximum-count-number-value="5"
|
||||
>
|
||||
<p>Count: <span data-count-target="result"></span></p>
|
||||
|
||||
<div>
|
||||
<button type="button" data-action="count#increment">+</button>
|
||||
<button type="button" data-action="count#decrement">-</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
data-controller="count"
|
||||
data-count-can-be-negative-value="false"
|
||||
>
|
||||
<p>Count: <span data-count-target="result"></span></p>
|
||||
|
||||
<div>
|
||||
<button type="button" data-action="count#increment">+</button>
|
||||
<button type="button" data-action="count#decrement">-</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/build/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue