I'm trying to run the code bellow, which is probably the most simple example of Vue.js, but it doesn't work at all:
<div id="app">
{{ message }}
</div>
<script>
var app = new Vue({
el: '#app',
data: {
message: 'Hello Vue!'
}
})
</script>
What's the problem? I'm loading <script src="https://unpkg.com/[email protected]/dist/vue.js"></script> in the header, no errors or warnings in Chrome dev tools. Thanks for any tips.
<script src="unpkg.com/vue/dist/vue.js"></script>, it's redirected to the unpkg.com/[email protected]/dist/vue.js with code 302