add html-validator + fix html ceo code
All checks were successful
Deploy Nuxt App / deploy (push) Successful in 1m31s

This commit is contained in:
2025-06-20 12:21:00 +04:00
parent cbabdf8ccb
commit 94d008ca7d
17 changed files with 318 additions and 123 deletions

View File

@ -1,6 +1,7 @@
import config from "./config";
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({
@ -17,9 +18,24 @@ export default defineNuxtConfig({
dir: "./dist",
},
},
alias: {
"@": fileURLToPath(new URL("./", import.meta.url)),
},
css: ["@/assets/css/tailwind.css"],
...config,
htmlValidator: {
usePrettier: true,
logLevel: "warning",
failOnError: false,
},
app: {
head: {
htmlAttrs: {
lang: "ru",
},
...head,
},
},
});