Use NuxtImg
This commit is contained in:
@@ -3,10 +3,12 @@ export default defineNuxtConfig({
|
||||
compatibilityDate: '2024-04-03',
|
||||
devtools: { enabled: true },
|
||||
css: ['~/assets/css/main.css'],
|
||||
|
||||
routeRules: {
|
||||
'/' : {prerender: true},
|
||||
'/champion/**' : {swr: true}
|
||||
},
|
||||
|
||||
app: {
|
||||
head: {
|
||||
link: [
|
||||
@@ -20,5 +22,7 @@ export default defineNuxtConfig({
|
||||
{name: "apple-mobile-web-app-title", content:"BuildPath"}
|
||||
]
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
modules: ['@nuxt/image']
|
||||
})
|
||||
Reference in New Issue
Block a user