Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
d614938c
Commit
d614938c
authored
Apr 14, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加代理
parent
90a1c4d0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
package-lock.json
+0
-0
vite.config.ts
+18
-0
No files found.
package-lock.json
View file @
d614938c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
vite.config.ts
View file @
d614938c
/*
* @Author: linjinhong linjinhong@jomalls.com
* @Date: 2025-04-14 15:21:58
* @LastEditors: linjinhong linjinhong@jomalls.com
* @LastEditTime: 2025-04-14 16:36:32
* @FilePath: \factory_front\vite.config.ts
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import
{
defineConfig
}
from
'vite'
import
AutoImport
from
'unplugin-auto-import/vite'
import
Components
from
'unplugin-vue-components/vite'
...
...
@@ -7,6 +15,16 @@ import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export
default
defineConfig
({
base
:
'/'
,
server
:
{
port
:
9803
,
host
:
true
,
proxy
:
{
"/api"
:
{
target
:
"http://10.168.31.142:8060"
}
}
},
plugins
:
[
vue
(),
AutoImport
({
...
...
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