I am trying to connect Vue.js code with HTML page to render some data. I am not getting how to connect, I have given the below code which I have tried.
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>
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.12/dist/vue.js"></script>
<script src='./vue.js'></script>
<body>
<div id="app">
<h1>{{ message }}</h1>
</div>
</body>
</html>
Vue.js:
var myObject = new Vue({
el: '#app',
data: {message: 'Hello Vue!'}
})