Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj-simple
/
equity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b46aa99b
authored
Mar 24, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 修改构筑路径
1 parent
d78d7399
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
vue.config.js
vue.config.js
View file @
b46aa99
const
path
=
require
(
'path'
)
const
packageName
=
require
(
'./package.json'
).
name
const
node_env
=
process
.
env
.
NODE_ENV
===
'production'
const
publicPath
=
node_env
?
`/child/
${
packageName
}
/`
:
'/'
// const publicPath = node_env ? `/child/${packageName}/` : '/'
const
publicPath
=
node_env
?
`/
${
packageName
}
/`
:
'/'
const
resolve
=
dir
=>
path
.
join
(
__dirname
,
dir
)
// const CDN_DOMAIN = 'https://cdn.bootcdn.net/'
const
CDN_DOMAIN
=
'https://img02.glsx.com.cn/'
...
...
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