fix
All checks were successful
Deploy Nuxt App / deploy (push) Successful in 2m27s

This commit is contained in:
2025-06-20 16:53:15 +04:00
parent 8529e66e33
commit d92fc4cf6e
2 changed files with 63 additions and 95 deletions

View File

@ -1,41 +1,42 @@
import config from "./config";
import config from './config'
import { fileURLToPath, URL } from "node:url";
import head from "./config/head";
import { fileURLToPath, URL } from 'node:url'
import head from './config/head'
// import sitemap from "./config/sitemap";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2025-05-15",
compatibilityDate: '2025-05-15',
devtools: { enabled: true },
devServer: {
host: "localhost",
host: 'localhost',
port: 4002,
},
nitro: {
output: {
dir: "./dist",
dir: './dist',
},
},
alias: {
"@": fileURLToPath(new URL("./", import.meta.url)),
'@': fileURLToPath(new URL('./', import.meta.url)),
},
css: ["@/assets/css/tailwind.css"],
css: ['@/assets/css/tailwind.css'],
...config,
htmlValidator: {
usePrettier: true,
logLevel: "error",
logLevel: 'error',
failOnError: false,
},
app: {
head: {
title: 'Vino Galante',
htmlAttrs: {
lang: "ru",
lang: 'ru',
},
...head,
},
},
});
})