Sunday, April 9, 2017

How do I make Example.vue update in Laravel?

I just read the answers to this question and wasn't able to get a good response.

Laravel Example.vue not updating

I also posted this question trying to figure it out on my own but to no avail.

how do I load a Vue component in Laravel 5.4?

As another attempt, I just did a new reinstall of Laravel, and while I am able to get the default Example.vue component to load multiple times in a single view, I am still unable to change the contents of the component. Funnier thing is that when I run npm install and then npm run dev, the component ceases to even show up anymore.

This is really frustrating because Laravel ships with Vue.js yet I am unable to utilize it. Any help would be much appreciated! :)



via Simon Suh

Advertisement