mirror of
https://github.com/spark-store-project/spark-store-abyss
synced 2025-12-17 04:41:37 +08:00
feat: 添加服务器捆绑配置以支持远程图标获取
This commit is contained in:
@@ -26,6 +26,11 @@ export default defineNuxtConfig({
|
||||
dir: "./public/icon",
|
||||
},
|
||||
],
|
||||
serverBundle: {
|
||||
remote: (name: string) =>
|
||||
`https://gcore.jsdelivr.net/npm/@iconify-json/${name}/icons.json`,
|
||||
externalizeIconsJson: true,
|
||||
},
|
||||
clientBundle: {
|
||||
scan: {
|
||||
globInclude: ["pages/*.vue", "app.vue"],
|
||||
|
||||
Reference in New Issue
Block a user