第一个文件

master
RogerWork 1 year ago
parent 1825c99f6b
commit 1221f23d3a
  1. 22
      src/sample/basic.html

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Basic</title>
<script type="text/javascript" src="../../node_modules/vue/dist/vue.global.js"></script>
<!-- <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>-->
</head>
<body>
<div id="app">
<h1>{{ message }}</h1>
</div>
<script type="text/javascript">
const vm = new Vue({
el: '#app',
data: {
message: 'Hello Vue!!'
}
})
</script>
</body>
</html>
Loading…
Cancel
Save