nav tabs on admin dashboard
This commit is contained in:
11
node_modules/laravel-mix/src/index.js
generated
vendored
11
node_modules/laravel-mix/src/index.js
generated
vendored
@@ -45,14 +45,12 @@ if (Mix.sees('laravel')) {
|
||||
Mix.listen('init', () => {
|
||||
if (Mix.shouldHotReload()) {
|
||||
let http = process.argv.includes('--https') ? 'https' : 'http';
|
||||
let port = process.argv.includes('--port')
|
||||
? process.argv[process.argv.indexOf('--port') + 1]
|
||||
: Config.hmrOptions.port;
|
||||
|
||||
new File(path.join(Config.publicPath, 'hot')).write(
|
||||
http +
|
||||
'://' +
|
||||
Config.hmrOptions.host +
|
||||
':' +
|
||||
Config.hmrOptions.port +
|
||||
'/'
|
||||
http + '://' + Config.hmrOptions.host + ':' + port + '/'
|
||||
);
|
||||
}
|
||||
});
|
||||
@@ -67,5 +65,4 @@ let Api = require('./Api');
|
||||
let api = new Api();
|
||||
|
||||
module.exports = api;
|
||||
module.exports.mix = api; // Deprecated.
|
||||
module.exports.config = Config;
|
||||
|
||||
Reference in New Issue
Block a user