Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
b9928002
Commit
b9928002
authored
Apr 08, 2021
by
李超鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'init-project-1.0.0'
parent
5a886c46
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16589 additions
and
4 deletions
+16589
-4
.env.js
.env.js
+2
-2
launch.json
.hbuilderx/launch.json
+11
-0
package-lock.json
package-lock.json
+16575
-0
package.json
package.json
+1
-2
No files found.
.env.js
View file @
b9928002
;
;
(
function
()
{
const
NODE_ENV
=
'dev'
;
// dev:开发环境 | test:测试环境
let
ENV_VAR
=
null
;
...
...
@@ -13,7 +13,7 @@
}
else
if
(
process
.
env
.
NODE_ENV
===
"production"
)
{
ENV_VAR
=
require
(
'.env.prod.js'
);
ENV_VAR
=
require
(
'.
/.
env.prod.js'
);
}
...
...
.hbuilderx/launch.json
0 → 100644
View file @
b9928002
{
//
launch.json
配置了启动调试时相关设置,configurations下节点名称可为
app-plus/h
5
/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp
-360
/
//
launchtype项可配置值为local或remote
,
local代表前端连本地云函数,remote代表前端连云端云函数
"version"
:
"0.0"
,
"configurations"
:
[{
"type"
:
"uniCloud"
,
"default"
:
{
"launchtype"
:
"remote"
}
}
]
}
package-lock.json
0 → 100644
View file @
b9928002
This diff is collapsed.
Click to expand it.
package.json
View file @
b9928002
...
...
@@ -20,8 +20,7 @@
"build:quickapp-webview-huawei"
:
"cross-env NODE_ENV=production UNI_PLATFORM=quickapp-webview-huawei vue-cli-service uni-build"
,
"build:quickapp-webview-union"
:
"cross-env NODE_ENV=production UNI_PLATFORM=quickapp-webview-union vue-cli-service uni-build"
,
"devt:mp-weixin"
:
"cross-env NODE_ENV=development UNI_PLATFORM=mp-weixin vue-cli-service uni-build"
,
"dev:app-plus"
:
"cross-env NODE_ENV=development UNI_PLATFORM=app-plus vue-cli-service uni-build --watch"
,
"dev:app-plus"
:
"cross-env NODE_ENV=development UNI_PLATFORM=app-plus vue-cli-service uni-build --watch"
,
"dev:custom"
:
"cross-env NODE_ENV=development uniapp-cli custom"
,
"dev:h5"
:
"cross-env NODE_ENV=development UNI_PLATFORM=h5 vue-cli-service uni-serve"
,
"dev:mp-360"
:
"cross-env NODE_ENV=development UNI_PLATFORM=mp-360 vue-cli-service uni-build --watch"
,
...
...
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