[Vuejs]-How to reset Vue component?

0πŸ‘

βœ…

<div id="app">
  <div class="container">
<router-view>
    <goals></goals>
</router-view>

</div>

1πŸ‘

try running php artisan view:clear you might have a cached view.

1πŸ‘

From your snippets above, the code references goals whereas the filename is Goal.vue i.e. non-plural. Try changing the filenanme to Goals.vue

Leave a comment