nav tabs on admin dashboard

This commit is contained in:
2019-03-07 00:20:34 -06:00
parent f73d6ae228
commit e4f473f376
11661 changed files with 216240 additions and 1544253 deletions

View File

@@ -18,6 +18,8 @@ module.exports = function addStyleUrl (url, options) {
options.attrs = typeof options.attrs === "object" ? options.attrs : {};
options.hmr = typeof options.hmr === 'undefined' ? true : options.hmr;
var link = document.createElement("link");
link.rel = "stylesheet";
@@ -30,7 +32,7 @@ module.exports = function addStyleUrl (url, options) {
head.appendChild(link);
if (module.hot) {
if (options.hmr && module.hot) {
return function(url) {
if(typeof url === "string") {
link.href = url;
@@ -39,4 +41,4 @@ module.exports = function addStyleUrl (url, options) {
}
};
}
}
}