Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
4cfd50c5
authored
2019-12-16 11:46:16 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
打包压缩
1 parent
eb9b1d9f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
.env.production
.env.sandbox
vue.config.js
.env.production
View file @
4cfd50c
.env.sandbox
View file @
4cfd50c
NODE_ENV = '
sandbox
'
NODE_ENV = '
production
'
VUE_APP_TITLE = 'sandbox'
VUE_APP_BASE_URL= 'https://30.76.147.155'
VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95'
...
...
vue.config.js
View file @
4cfd50c
...
...
@@ -21,7 +21,7 @@ if (process.env.NODE_ENV === 'development') {
// seo插件
plugins
.
push
(
new
PrerenderSPAPlugin
({
staticDir
:
path
.
join
(
__dirname
,
webpack_public_path
==
""
||
'dist'
),
// 如果没配置环境目录(生产),则写到目录dist
staticDir
:
path
.
join
(
__dirname
,
webpack_public_path
||
'dist'
),
// 如果没配置环境目录(生产),则写到目录dist
routes
:
[
'/'
,
'/demo'
,
'/about'
],
// 需要seo的目录 临时占位,后期再进行配置
renderer
:
new
Renderer
({
inject
:
{
...
...
Please
register
or
sign in
to post a comment