Perform a Vue2 component in admin lte

0

I installed admin lte using composer for laravel 5.4 , because this template comes with Vue installed.

However when making a component I get the following error:

This is my code:

<div id="app">
    @{{ message }}
</div>
...
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.27/vue.js"></script>
<script>
    new Vue({
      el: '#app',
      data: {
        message: 'Hello Vue.js!'
      }
    });
</script>
    
asked by Jose Gregorio Rodriguez 25.04.2017 в 15:18
source

0 answers