mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-22 02:16:53 +08:00
优化h5项目
This commit is contained in:
@@ -12,12 +12,14 @@ module.exports = {
|
||||
*/
|
||||
baseUrl: {
|
||||
apiUrl: process.env.VUE_APP_URL,
|
||||
erpApiUrl: process.env.VUE_APP_ERP_URL,
|
||||
webSocketUrl: process.env.VUE_APP_SOCKET_URL
|
||||
},
|
||||
/**
|
||||
* 打包后静态资源地址;如果是走cdn的话,可以配置如下:
|
||||
* publicPath: isProd ? 'https://cdn.1024lab.net/static/smart-h5/' : '/'
|
||||
*/
|
||||
publicPath: isProductionEnv ? '/smart-admin-h5/' : '/',
|
||||
publicPath: isProductionEnv ? '/manage-h5/' : '/',
|
||||
|
||||
// ==================== cdn 相关 begin ====================
|
||||
cdn: {
|
||||
|
||||
Reference in New Issue
Block a user