parent
1825c99f6b
commit
1221f23d3a
1 changed files with 22 additions and 0 deletions
@ -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…
Reference in new issue