nav tabs on admin dashboard
This commit is contained in:
+15
-9
@@ -62,6 +62,21 @@ class Mix {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the given npm package is installed.
|
||||
*
|
||||
* @param {string} npmPackage
|
||||
*/
|
||||
seesNpmPackage(npmPackage) {
|
||||
try {
|
||||
require.resolve(npmPackage);
|
||||
|
||||
return true;
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if Mix should activate hot reloading.
|
||||
*/
|
||||
@@ -71,15 +86,6 @@ class Mix {
|
||||
return this.isUsing('hmr');
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a custom file to the webpack assets collection.
|
||||
*
|
||||
* @param {string} asset
|
||||
*/
|
||||
addAsset(asset) {
|
||||
Config.customAssets.push(asset);
|
||||
}
|
||||
|
||||
/**
|
||||
* Queue up a new task.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user