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