-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (27 loc) · 763 Bytes
/
index.html
File metadata and controls
35 lines (27 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<script src="http://livejs.com/live.js"></script>
<link rel="stylesheet" href="/static/tachyons.min.css">
<script src="https://unpkg.com/stimulus/dist/stimulus.umd.js"></script>
<script>
(() => {
const application = Stimulus.Application.start()
application.register("hello", class extends Stimulus.Controller {
static get targets() {
return [ "name" ]
}
})
})()
</script>
</head>
<body class="pa3 sans-serif">
<p>Hola pepe, ¿como estás?</p>
<div data-controller="hello">
<input type="text">
<button>Greet</button>
</div>
</body>
</html>