Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
紫光云
web-project
Commits
14c08d70
Commit
14c08d70
authored
Jun 03, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改打包
parent
a69180e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
.env.production
.env.production
+4
-4
package.json
package.json
+1
-1
dashboard.ts
src/router/routes/modules/dashboard.ts
+1
-1
No files found.
.env.production
View file @
14c08d70
# Whether to open mock
VITE_USE_MOCK =
tru
e
VITE_USE_MOCK =
fals
e
# public path
VITE_PUBLIC_PATH = /
VITE_PUBLIC_PATH =
.
/
# Whether to enable gzip or brotli compression
# Optional: gzip | brotli | none
# If you need multiple forms, you can use `,` to separate
VITE_BUILD_COMPRESS = '
none
'
VITE_BUILD_COMPRESS = '
gzip
'
# Basic interface address SPA
VITE_GLOB_API_URL =
/basic-api
VITE_GLOB_API_URL =
http://58.223.177.48:8088
# File upload address, optional
# It can be forwarded by nginx or write the actual address directly
...
...
package.json
View file @
14c08d70
...
...
@@ -18,7 +18,7 @@
"type"
:
"module"
,
"scripts"
:
{
"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:docker"
:
"vite build --mode docker"
,
"build:no-cache"
:
"pnpm store prune && npm run build"
,
...
...
src/router/routes/modules/dashboard.ts
View file @
14c08d70
...
...
@@ -10,7 +10,7 @@ const dashboard: AppRouteModule = {
meta
:
{
hideChildrenInMenu
:
true
,
icon
:
''
,
orderNo
:
12
,
orderNo
:
0
,
title
:
'门户页'
,
},
children
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment