35 lines
843 B
TypeScript
35 lines
843 B
TypeScript
// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
|
|
|
|
export default defineNuxtConfig({
|
|
app: {
|
|
head: {
|
|
htmlAttrs: {
|
|
lang: "fr",
|
|
},
|
|
meta: [
|
|
{ charset: "utf-8" },
|
|
{ name: "viewport", content: "width=device-width, initial-scale=1" },
|
|
{ hid: "description", name: "description", content: "" },
|
|
{ name: "format-detection", content: "telephone=no" },
|
|
],
|
|
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
|
|
},
|
|
},
|
|
css: ["@/css/app.sass"],
|
|
build: {
|
|
transpile: ["oh-vue-icons"],
|
|
},
|
|
modules: ["@pinia/nuxt"],
|
|
vite: {
|
|
css: {
|
|
preprocessorOptions: {
|
|
sass: {
|
|
additionalData: `@import "@/css/tools.sass" \n`,
|
|
},
|
|
},
|
|
},
|
|
optimizeDeps: {
|
|
exclude: ["oh-vue-icons/icons"],
|
|
},
|
|
},
|
|
})
|