I just started learning vue.js from the book titled "Getting to know Vue". However, I am facing some challenges with the components page. The sample code provided in the book is not working for me and every time I try to open the HTML file, it just shows a blank page.
Despite searching on Google, Yahoo, and even on the official Vue documentation, none of the examples seem to work for me. It's strange that I am unable to execute this code properly. Any assistance in getting this code to work would be greatly appreciated.
Below is the code snippet:
The version of vue.js being used is 2.7.14
<!doctype html>
<html>
<head></head>
<body>
<script src="vue.js"></script>
<script>
Vue.component('our-header', {
template: `<h1>App Header</h1>`
});
</script>
<div id='our-header'>
<our-header></our-header>
</div>
</body>
</html>