I have Laravel running in docker and I dont yet have very good grasp of docker now laravel either and I'm getting very frustrated as I can't make the vue components to work. If I edit vue component content, change the name, it does not work. Vue gives error something like: "did you register the component correctly?"
Only way I have made it work is by destroying the containers, then running command "npm run dev" and building them again, but obviously that is very slow.
I have tried enabling hot reload with command "npm run watch" but it does not seem to help. Just to clarify, I have used the vue example that comes with laravel and it works when I build the containers, but if I edit the name of it or the content, it does not work anymore until I change it back. To me it seems there is problem with hot reload and docker, I'm sorry if this is the wrong place to ask, but I didn't know any better forum to ask. There is very small amount of information about running laravel in docker and making vue components
I'm going to answer myself, after spending the whole day wondering and trying out different things.
If you are running laravel on docker, go to your laravel folder and run "npm install" if you havent yet.
After it is done, run "npm run watch" AND DON'T CTRL+C YOUR WAY OUT OF THE CONSOLE AS I MISTAKENLY DID!
You need to leave the console to that state and after you're done with your Vue components you can exit the watch or optionally you can always run npm run dev every time you update components but that is a bit slow method. Thanks for reading, I'm so happy I got this to work and what a stupid mistake it was.