-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
添加了一个使用node模块的案例,该模块的作用是分辨测试环境和运行环境,最终发现该node模块无法使用
- Loading branch information
1 parent
cc594fd
commit ca02cb8
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# just a flag | ||
ENV = 'development' | ||
|
||
# base api | ||
VUE_APP_BASE_API = '/api' | ||
|
||
# base url | ||
VUE_APP_URL='http://localhost:8080/' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# just a flag | ||
ENV = 'production' | ||
|
||
# base api | ||
VUE_APP_BASE_API = '/api' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters