feature:增加静态目录public,调整在线logo地址到public。

This commit is contained in:
pixelmaxQM
2024-06-22 21:16:50 +08:00
parent 8ef4f408bf
commit f23cd22110
4 changed files with 2 additions and 1 deletions

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

+1 -1
View File
@@ -5,7 +5,7 @@ import chalk from "chalk";
const config = { const config = {
appName: 'Gin-Vue-Admin', appName: 'Gin-Vue-Admin',
appLogo: 'https://www.gin-vue-admin.com/img/logo.png', appLogo: 'logo.png',
showViteLogo: true, showViteLogo: true,
logs: [], logs: [],
} }
+1
View File
@@ -54,6 +54,7 @@ export default ({
const config = { const config = {
base: '/', // index.html文件所在位置 base: '/', // index.html文件所在位置
root: './', // js导入的资源路径,src root: './', // js导入的资源路径,src
publicDir: 'public', // 静态资源文件夹
resolve: { resolve: {
alias, alias,
}, },