Skip to content

Commit f23cd22

Browse files
committed
feature:增加静态目录public,调整在线logo地址到public。
1 parent 8ef4f40 commit f23cd22

File tree

4 files changed

+2
-1
lines changed

4 files changed

+2
-1
lines changed
File renamed without changes.

web/public/logo.png

74.9 KB
Loading

web/src/core/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import chalk from "chalk";
55

66
const config = {
77
appName: 'Gin-Vue-Admin',
8-
appLogo: 'https://www.gin-vue-admin.com/img/logo.png',
8+
appLogo: 'logo.png',
99
showViteLogo: true,
1010
logs: [],
1111
}

web/vite.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export default ({
5454
const config = {
5555
base: '/', // index.html文件所在位置
5656
root: './', // js导入的资源路径,src
57+
publicDir: 'public', // 静态资源文件夹
5758
resolve: {
5859
alias,
5960
},

0 commit comments

Comments
 (0)