Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-h5-ailipay
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 a461b2a5
authored
Sep 05, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去除assetsdir
1 parent
39151033
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
vue.config.js
vue.config.js
View file @
a461b2a
...
...
@@ -57,7 +57,7 @@ module.exports = {
// publicPath: './',
publicPath
:
'/dj-carlife-web-alipay/'
,
// 署应用包时的基本 URL。 vue-router history模式使用
outputDir
:
'dist'
,
// 生产环境构建文件的目录
assetsDir
:
'static'
,
// outputDir的静态资源(js、css、img、fonts)目录
//
assetsDir: 'static', // outputDir的静态资源(js、css、img、fonts)目录
lintOnSave
:
!
IS_PROD
,
productionSourceMap
:
false
,
// 如果不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
devServer
:
{
...
...
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