Commit 14c08d70 authored by jiaxu.yan's avatar jiaxu.yan

feat: 修改打包

parent a69180e1
# Whether to open mock # Whether to open mock
VITE_USE_MOCK = true VITE_USE_MOCK = false
# public path # public path
VITE_PUBLIC_PATH = / VITE_PUBLIC_PATH = ./
# Whether to enable gzip or brotli compression # Whether to enable gzip or brotli compression
# Optional: gzip | brotli | none # Optional: gzip | brotli | none
# If you need multiple forms, you can use `,` to separate # If you need multiple forms, you can use `,` to separate
VITE_BUILD_COMPRESS = 'none' VITE_BUILD_COMPRESS = 'gzip'
# Basic interface address SPA # Basic interface address SPA
VITE_GLOB_API_URL = /basic-api VITE_GLOB_API_URL = http://58.223.177.48:8088
# File upload address, optional # File upload address, optional
# It can be forwarded by nginx or write the actual address directly # It can be forwarded by nginx or write the actual address directly
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"bootstrap": "pnpm install", "bootstrap": "pnpm install",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build", "build": "cross-env NODE_ENV=production pnpm vite build",
"build:analyze": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build --mode analyze", "build:analyze": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build --mode analyze",
"build:docker": "vite build --mode docker", "build:docker": "vite build --mode docker",
"build:no-cache": "pnpm store prune && npm run build", "build:no-cache": "pnpm store prune && npm run build",
......
...@@ -10,7 +10,7 @@ const dashboard: AppRouteModule = { ...@@ -10,7 +10,7 @@ const dashboard: AppRouteModule = {
meta: { meta: {
hideChildrenInMenu: true, hideChildrenInMenu: true,
icon: '', icon: '',
orderNo: 12, orderNo: 0,
title: '门户页', title: '门户页',
}, },
children: [ children: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment