Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
281bddcd
authored
Mar 07, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加 optimize 文件列表,避免 reload
parent
5df7a8c9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vite.config.ts
+2
-0
No files found.
vite.config.ts
View file @
281bddcd
...
@@ -25,6 +25,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
...
@@ -25,6 +25,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
root
:
root
,
root
:
root
,
// 服务端渲染
// 服务端渲染
server
:
{
server
:
{
// 是否开启 https
https
:
false
,
// 端口号
// 端口号
port
:
env
.
VITE_PORT
,
port
:
env
.
VITE_PORT
,
host
:
"0.0.0.0"
,
host
:
"0.0.0.0"
,
...
...
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