fix: consolidate module declarations and add umami configuration
This commit is contained in:
parent
b6cd112499
commit
7691fc479d
1 changed files with 10 additions and 3 deletions
|
|
@ -1,7 +1,8 @@
|
|||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: "2025-07-15",
|
||||
|
||||
modules: ["@nuxt/ui", "@nuxt/fonts", "nuxt-umami"],
|
||||
|
||||
app: {
|
||||
head: {
|
||||
title: "Estúdio AANY", // default fallback title
|
||||
|
|
@ -14,8 +15,6 @@ export default defineNuxtConfig({
|
|||
|
||||
devtools: { enabled: true },
|
||||
|
||||
modules: ["@nuxt/ui", "@nuxt/fonts"],
|
||||
|
||||
css: ["~/assets/css/main.css"],
|
||||
|
||||
fonts: {
|
||||
|
|
@ -28,8 +27,16 @@ export default defineNuxtConfig({
|
|||
|
||||
// deploy cloudflare
|
||||
nitro: {
|
||||
preset: "cloudflare-pages",
|
||||
prerender: {
|
||||
autoSubfolderIndex: false,
|
||||
},
|
||||
},
|
||||
|
||||
umami: {
|
||||
id: "fd7501ea-3aa8-4ef5-ae8f-3b2c0e6544e4",
|
||||
host: "https://umami.estudioaany.com.br/",
|
||||
autoTrack: true,
|
||||
proxy: false,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue