Answers for "change laravel mix to run on different port"

PHP
1

change laravel mix to run on different port

// All you need to do is add the following port configs to webpack.mix.js file 

mix.options({
    hmrOptions: {
        host: 'localhost',
        port: '8079'
    },
});

mix.webpackConfig({
    devServer: {
        port: '8079'
    },
});
Posted by: Guest on April-02-2022

Browse Popular Code Answers by Language