Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👷 Add netlify build & VUE_APP_SCOURCE_LINK setting 2
- Loading branch information
Showing
4 changed files
with
18 additions
and
2 deletions.
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 @@ | ||
# travis | ||
|
||
# 指定构建模式 | ||
NODE_ENV=production | ||
|
||
# 标记当前构建方式 | ||
VUE_APP_BUILD_MODE=NETLIFY | ||
|
||
# 显示源码按钮 | ||
VUE_APP_SCOURCE_LINK=TRUE |
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 |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
NODE_ENV=production | ||
|
||
# 标记当前是 No Mock 构建 | ||
VUE_APP_BUILD_MODE=nomock | ||
VUE_APP_BUILD_MODE=NOMOCK |
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
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 |
---|---|---|
|
@@ -3,6 +3,9 @@ build/ | |
tests/ | ||
node_modules/ | ||
|
||
# D2CRUD 演示 | ||
src/views/demo/d2-crud/ | ||
|
||
# node 覆盖率文件 | ||
coverage/ | ||
|
||
|