feature: 添加静态文件

This commit is contained in:
zhengxinonly
2023-09-29 14:57:03 +08:00
parent 2c3c79b21f
commit ba5e2cf67b
68 changed files with 153780 additions and 5 deletions
+30
View File
@@ -0,0 +1,30 @@
window.rootPath = (function (src) {
src = document.currentScript
? document.currentScript.src
: document.scripts[document.scripts.length - 1].src;
return src.substring(0, src.lastIndexOf("/") + 1);
})();
layui
.config({
base: rootPath + "module/",
version: "4.0.0-alpha.1",
})
.extend({
admin: "admin",
page: "page",
tabPage: "tabPage",
menu: "menu",
fullscreen: "fullscreen",
messageCenter: "messageCenter",
menuSearch: "menuSearch",
button: "button",
popup: "extends/popup",
count: "extends/count",
toast: "extends/toast",
nprogress: "extends/nprogress",
echarts: "extends/echarts",
echartsTheme: "extends/echartsTheme",
yaml: "extends/yaml",
})
.use([], function () {});