npm list --depth=0)node -v): v8.1.2npm -v): 5.0.4Hi,
Trying to use hot module reload with vue. I get "Cannot GET /" when browsing to localhost:8080. I've rebooted, updated brew (node), npm and such. For information I have Valet set up on my machine.
I reference my scripts and css via mix blade helper.
Thanks very much for the hard work to make our lives easier !
`
laravel new hot
cd hot
yarn
npm run hot
browse to http://localhost:8080
Error : 'Cannot GET /'
`
What is your configuration in webpack.mix.js?
I left it unchanged as I wanted to eliminate a potential error on my part.
let mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css');
Thanks so much !
Most helpful comment
https://github.com/JeffreyWay/laravel-mix/issues/344#issuecomment-313580161