Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
de7b8371
Commit
de7b8371
authored
Apr 29, 2021
by
程默
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix config
parent
fa37823f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
1 deletions
+47
-1
config/index.js
+1
-1
package.json
+1
-0
project.private.config.json
+45
-0
No files found.
config/index.js
View file @
de7b8371
...
...
@@ -52,7 +52,7 @@ module.exports = {
fileExt
:
fileExt
},
dev
:
{
env
:
require
(
'./dev.env'
),
env
:
process
.
env
.
NODE_ENV
==
'production'
?
require
(
'./prod.env'
):
require
(
'./dev.env'
),
port
:
8080
,
// 在小程序开发者工具中不需要自动打开浏览器
autoOpenBrowser
:
false
,
...
...
package.json
View file @
de7b8371
...
...
@@ -7,6 +7,7 @@
"private"
:
true
,
"scripts"
:
{
"dev:wx"
:
"cross-env NODE_ENV=development node build/dev-server.js wx"
,
"pro"
:
"cross-env NODE_ENV=production node build/dev-server.js wx"
,
"start:wx"
:
"npm run dev:wx"
,
"build:wx"
:
"cross-env NODE_ENV=production node build/build.js wx"
,
"test:wx"
:
"cross-env NODE_ENV=development node build/build.js wx"
,
...
...
project.private.config.json
0 → 100644
View file @
de7b8371
{
"condition"
:
{
"plugin"
:
{
"list"
:
[]
},
"game"
:
{
"list"
:
[]
},
"gamePlugin"
:
{
"list"
:
[]
},
"miniprogram"
:
{
"list"
:
[
{
"id"
:
0
,
"name"
:
"pages/index/main"
,
"pathName"
:
"pages/index/main"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"pages/login/main"
,
"pathName"
:
"pages/login/main"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
2
,
"name"
:
"pages/index/main"
,
"pathName"
:
"pages/index/main"
,
"query"
:
"scene=pid_6141"
,
"scene"
:
1047
},
{
"name"
:
"第三方"
,
"pathName"
:
"pages/wxArticle/main"
,
"query"
:
""
,
"scene"
:
null
}
]
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment