Added nuxt image
This commit is contained in:
1 parent
9febe40c60
commit
247f196533
1 file changed
+16
-13
+16
-13
@@ -2,17 +2,20 @@ import { fileURLToPath } from "node:url"
|
|||||||
|
|
||||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
compatibilityDate: "2025-07-15",
|
compatibilityDate: "2025-07-15",
|
||||||
devtools: { enabled: true },
|
devtools: { enabled: true },
|
||||||
modules: ["@nuxt/fonts", "@nuxt/icon", "@nuxt/image"],
|
modules: ["@nuxt/fonts", "@nuxt/icon", "@nuxt/image"],
|
||||||
components: [
|
components: [
|
||||||
{
|
{
|
||||||
path: "~/ui",
|
path: "~/ui",
|
||||||
pathPrefix: false,
|
pathPrefix: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "~/components",
|
path: "~/components",
|
||||||
pathPrefix: true,
|
pathPrefix: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
image: {
|
||||||
|
domains: ["api.music.lucasskt.dk"],
|
||||||
|
},
|
||||||
})
|
})
|
||||||
Reference in new issue
Block a user