laravel-vue-crud-starter icon indicating copy to clipboard operation
laravel-vue-crud-starter copied to clipboard

Docker / BrowserSync / Mix

Open CordMarston opened this issue 4 years ago • 3 comments

I've got this all setup and working flawlessly besides the "browserSync" no matter what I try I can not get it to load.

Is there a simple guide or tutorial on how to get it to work with this package?

CordMarston avatar Feb 15 '21 23:02 CordMarston

Sorry for replying late. Is it possible to explain with some details?

AnowarCST avatar Apr 28 '21 18:04 AnowarCST

Hi @AnowarCST I am also trying to use this and found quite good. I am not that good with docker but I wanted to use it via docker for some reason this time. I am able to run the application without any issues but the problem that I found is;

First of all, I found no NodeJs and npm are installed in the docker image/container or is it not necessary to install in the docker and my laptop's npm works fine ? Secondly I did not find a way to watch the changes that I made for Vue files. Can you help me (us) to configure nodejs and watcher run in the docker so that I can just make changes in the files and refresh the browser please ?

iamraju avatar May 18 '21 03:05 iamraju

@iamraju Hi thanks for using this.

If you want to write some codes in vuejs you need to install nodejs and npm in your machine. Because as a template I didn't include it here. To check your changes, run npm install and npm run watch in your project directory.

AnowarCST avatar May 19 '21 19:05 AnowarCST