Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 ebdeb462
authored
Dec 29, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
3b2f27b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
linkwe-mobile/.env.production
linkwe-mobile/vue.config.js
linkwe-mobile/.env.production
View file @
ebdeb46
...
@@ -5,4 +5,4 @@ ENV = 'production'
...
@@ -5,4 +5,4 @@ ENV = 'production'
VUE_APP_BASE_API = 'http://demo.linkwechat.cn/prod-api'
VUE_APP_BASE_API = 'http://demo.linkwechat.cn/prod-api'
# 路由基础路径
# 路由基础路径
VUE_APP_BASE_URL = '/'
\ No newline at end of file
\ No newline at end of file
VUE_APP_BASE_URL = '/mobile/'
\ No newline at end of file
\ No newline at end of file
linkwe-mobile/vue.config.js
View file @
ebdeb46
...
@@ -13,10 +13,9 @@ process.env.VUE_APP_TITLE = require('./package.json').description
...
@@ -13,10 +13,9 @@ process.env.VUE_APP_TITLE = require('./package.json').description
// 如果您的应用程序部署在子路径中,则需要在这指定子路径
// 如果您的应用程序部署在子路径中,则需要在这指定子路径
// 例如:https://www.my-app.com/my-app/
// 例如:https://www.my-app.com/my-app/
// 需要将它改为'/my-app/'
// 需要将它改为'/my-app/'
const
BASE_URL
=
process
.
env
.
NODE_ENV
===
'development'
?
'/'
:
'/mobile/'
module
.
exports
=
{
module
.
exports
=
{
publicPath
:
BASE_URL
,
publicPath
:
process
.
env
.
VUE_APP_BASE_URL
||
'/'
,
outputDir
:
'dist'
,
// 打包名称
outputDir
:
'dist'
,
// 打包名称
// 打包时不生成.map文件
// 打包时不生成.map文件
productionSourceMap
:
false
,
productionSourceMap
:
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