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 9b9471f3
authored
Sep 02, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
publicPath: '/dj-carlife-web-alipay'
1 parent
517072c2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
vue.config.js
vue.config.js
View file @
9b9471f
...
@@ -55,9 +55,8 @@ const spritesmithFunction = data => {
...
@@ -55,9 +55,8 @@ const spritesmithFunction = data => {
module
.
exports
=
{
module
.
exports
=
{
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-lwk/', // 本地调试时需登录时使用
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-lwk/', // 本地调试时需登录时使用
// publicPath: './',
// publicPath: './',
// publicPath: '/dj-scrm-wx-work-attachment-activity/', // 署应用包时的基本 URL。 vue-router history模式使用
publicPath
:
'/dj-carlife-web-alipay'
,
// 署应用包时的基本 URL。 vue-router history模式使用
// outputDir: 'dist', // 生产环境构建文件的目录
outputDir
:
'dist'
,
// 生产环境构建文件的目录
outputDir
:
'/dj-carlife-web-alipay'
,
assetsDir
:
'static'
,
// outputDir的静态资源(js、css、img、fonts)目录
assetsDir
:
'static'
,
// outputDir的静态资源(js、css、img、fonts)目录
lintOnSave
:
!
IS_PROD
,
lintOnSave
:
!
IS_PROD
,
productionSourceMap
:
false
,
// 如果不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
productionSourceMap
:
false
,
// 如果不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
...
...
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