[Vuejs]-Tested VueJS file problems

0๐Ÿ‘

โœ…

Ok if i understand you right, you just have a simple HTML-file and want to use vue in it.

In this case you just have to reorganize your code like this and it should work:

<html>
<body>
<div id="app">
  <p>{{ message }}</p>
</div>
<script src="https://unpkg.com/vue"></script>
<script>
    new Vue({
        el: '#app',
        data: { message: 'Hello Vue.js!' }
    })
</script>

If i missunderstood you just tell me and I try to edit it.

Leave a comment