build(assets): 替换更新项目logo与站点图标
1. 新增并替换多份logo、站点图标资源文件 2. 配置别名简化logo资源导入路径 3. 更新图标引用路径与后端租户配置
@@ -25,7 +25,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"config_key": "tenant_favicon",
|
"config_key": "tenant_favicon",
|
||||||
"config_value": "https://service.fastapiadmin.com/api/v1/static/image/favicon.png",
|
"config_value": "https://service.fastapiadmin.com/api/v1/static/image/favicon.ico",
|
||||||
"config_type": "string",
|
"config_type": "string",
|
||||||
"tenant_id": 1
|
"tenant_id": 1
|
||||||
},
|
},
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 903 B |
|
Before Width: | Height: | Size: 150 KiB |
|
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 128 KiB |
@@ -9,7 +9,7 @@
|
|||||||
name="keywords"
|
name="keywords"
|
||||||
content="vue,element-plus,typescript,vue-element-admin,vue3-element-admin"
|
content="vue,element-plus,typescript,vue-element-admin,vue3-element-admin"
|
||||||
/>
|
/>
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="src/assets/fa_logo/favicon.png" />
|
<link rel="shortcut icon" type="image/x-icon" href="src/assets/fa_logo/favicon.ico" />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
/* 防止 Vue 加载前出现白屏:背景色与主题初始 class 同步 */
|
/* 防止 Vue 加载前出现白屏:背景色与主题初始 class 同步 */
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 128 KiB |
@@ -12,7 +12,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import defaultLogoUrl from "@icons/vite.svg";
|
import defaultLogoUrl from "@fa_logo/logo.png";
|
||||||
|
|
||||||
defineOptions({ name: "FaLogo" });
|
defineOptions({ name: "FaLogo" });
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,9 @@
|
|||||||
"@stores/*": ["./src/store/*"],
|
"@stores/*": ["./src/store/*"],
|
||||||
"@plugins": ["./src/plugins"],
|
"@plugins": ["./src/plugins"],
|
||||||
"@styles": ["./src/styles"],
|
"@styles": ["./src/styles"],
|
||||||
"@api/*": ["./src/api/*"]
|
"@api/*": ["./src/api/*"],
|
||||||
|
"@fa_logo/*": ["./src/assets/fa_logo/*"],
|
||||||
|
"@fa_logo": ["./src/assets/fa_logo"],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
|||||||
@@ -82,6 +82,8 @@ export default ({ mode }: { mode: string }) => {
|
|||||||
"@plugins": resolvePath("src/plugins"),
|
"@plugins": resolvePath("src/plugins"),
|
||||||
"@styles": resolvePath("src/styles"),
|
"@styles": resolvePath("src/styles"),
|
||||||
"@api": resolvePath("src/api"),
|
"@api": resolvePath("src/api"),
|
||||||
|
"@fa_logo": resolvePath("src/assets/fa_logo"),
|
||||||
|
"@fa_logo/*": resolvePath("src/assets/fa_logo/*"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
|||||||