diff --git a/package.json b/package.json index e580f6c2..0690d130 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,9 @@ "env": { "node": true }, + "globals": { + "APP_CONFIG": true + }, "extends": [ "plugin:vue/vue3-essential", "eslint:recommended" diff --git a/public/config.js b/public/config.js new file mode 100644 index 00000000..6549444a --- /dev/null +++ b/public/config.js @@ -0,0 +1,8 @@ +const APP_CONFIG = { + //标题 + APP_NAME: "SCUI", + //版本号 + APP_VER: "1.0", + //接口地址 + API_URL: "" +} diff --git a/public/index.html b/public/index.html index 23004b94..ccaf1b17 100644 --- a/public/index.html +++ b/public/index.html @@ -6,6 +6,7 @@