add html-validator + fix html ceo code
All checks were successful
Deploy Nuxt App / deploy (push) Successful in 1m31s
All checks were successful
Deploy Nuxt App / deploy (push) Successful in 1m31s
This commit is contained in:
@ -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,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user