2022-04-03 01:20:54 +02:00
|
|
|
// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
|
2022-12-03 23:47:25 +01:00
|
|
|
|
2022-04-03 01:20:54 +02:00
|
|
|
export default defineNuxtConfig({
|
2022-12-03 23:47:25 +01:00
|
|
|
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" }],
|
2022-04-03 01:20:54 +02:00
|
|
|
},
|
|
|
|
},
|
2022-04-03 01:20:54 +02:00
|
|
|
css: ["@/css/app.sass"],
|
2022-07-06 02:11:53 +02:00
|
|
|
build: {
|
|
|
|
transpile: ["oh-vue-icons"],
|
|
|
|
},
|
2022-12-03 23:47:25 +01:00
|
|
|
modules: ["@pinia/nuxt"],
|
2022-04-03 01:20:54 +02:00
|
|
|
vite: {
|
|
|
|
css: {
|
|
|
|
preprocessorOptions: {
|
|
|
|
sass: {
|
|
|
|
additionalData: `@import "@/css/tools.sass" \n`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2022-07-06 02:11:53 +02:00
|
|
|
optimizeDeps: {
|
|
|
|
exclude: ["oh-vue-icons/icons"],
|
|
|
|
},
|
2022-04-03 01:20:54 +02:00
|
|
|
},
|
2022-04-03 01:20:54 +02:00
|
|
|
})
|