2024-09-11 10:55:44 +08:00

26 lines
534 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<div id="app">
<div>{{msg}}</div>
<input type="text" v-model="msg" />
{{msg}}
</div>
<script type="module">
import Vue from "./js/Vue.js";
const options = {
el: "#app",
data: {
msg: "hello vue",
},
};
new Vue(options);
</script>
</body>
</html>