Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c85f2e3c
authored
Apr 24, 2024
by
henry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化配置
1 parent
b2e40e75
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
.env.production
vue.config.js
.env.production
View file @
c85f2e3
NODE_ENV = 'production'
VUE_APP_BASE_URL = "http://192.168.0.1
20
:80"
VUE_APP_BASE_URL = "http://192.168.0.1
02
:80"
vue.config.js
View file @
c85f2e3
const
{
defineConfig
}
=
require
(
'@vue/cli-service'
)
// const ip = '43.143.211.42';
const
ip
=
'172.20.10.3'
;
//
const ip = '172.20.10.3';
// const ip = '172.20.10.9'; // 何鹏
// const ip = '192.168.0.120';
// const ip = '192.168.0.13';
const
ip
=
'192.168.0.102'
;
module
.
exports
=
defineConfig
({
transpileDependencies
:
true
,
//如果是hash模式, publicPath:"";如果是history, publicPath:"/"
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment