diff --git a/.env.app b/.env.app
new file mode 100644
index 0000000..ff2baeb
--- /dev/null
+++ b/.env.app
@@ -0,0 +1,5 @@
+NODE_ENV=production
+VUE_APP_PLATFORM_NAME=昆鸿设备管理系统
+VUE_APP_SSO=false
+VUE_APP_ROUTER_MODE=hash
+VUE_APP_IS_APP=true
\ No newline at end of file
diff --git a/package.json b/package.json
index 5725f98..810651d 100644
--- a/package.json
+++ b/package.json
@@ -5,6 +5,7 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
+ "build:app": "vue-cli-service build --mode app",
"lint": "vue-cli-service lint",
"build:test": "vue-cli-service build --mode test",
"pre": "cnpm install || yarn --registry https://registry.npm.taobao.org || npm install --registry https://registry.npm.taobao.org "
diff --git a/public/app_api_address_config.js b/public/app_api_address_config.js
new file mode 100644
index 0000000..566623f
--- /dev/null
+++ b/public/app_api_address_config.js
@@ -0,0 +1,12 @@
+/**
+ * 防止打包部署时路径被写死
+ */
+window._CONFIG = {}
+window._CONFIG.domianURL = 'http://192.168.137.1:9393/jero-boot' // 路由转发 devServer
+window._CONFIG.domianWebSocketURL = 'http://192.168.137.1:9393'
+// 单点登录地址
+window._CONFIG.staticDomainURL = window._CONFIG.domianURL + '/sys/common/download'
+window._CONFIG.pdfDomainURL = window._CONFIG.domianURL + '/sys/common/pdf/pdfPreviewIframe'
+window._CONFIG.casPrefixUrl = 'http://cas.example.org:8443/cas'
+// 预览文件地址
+window._CONFIG.onlinePreviewDomainURL = 'http://127.0.0.1:8012/onlinePreview'
diff --git a/public/index.html b/public/index.html
index ab44505..492e610 100644
--- a/public/index.html
+++ b/public/index.html
@@ -9,6 +9,10 @@
+
+ <% if (process.env.VUE_APP_IS_APP === 'true' ) { %>
+
+ <% } %>