Add nuxt module config
This commit is contained in:
@@ -0,0 +1,38 @@
|
|||||||
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||||
|
export default defineNuxtConfig({
|
||||||
|
compatibilityDate: "2024-11-01",
|
||||||
|
devtools: { enabled: false },
|
||||||
|
css: ["~/assets/css/tailwind.css"],
|
||||||
|
|
||||||
|
postcss: {
|
||||||
|
plugins: {
|
||||||
|
"@tailwindcss/postcss": {},
|
||||||
|
autoprefixer: {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
icon: {
|
||||||
|
mode : "svg",
|
||||||
|
customCollections: [
|
||||||
|
{
|
||||||
|
prefix: 'ci',
|
||||||
|
dir: './assets/custom-icons'
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
modules: [[
|
||||||
|
'reka-ui/nuxt',
|
||||||
|
[
|
||||||
|
"@nuxtjs/google-fonts",
|
||||||
|
{
|
||||||
|
families: {
|
||||||
|
'DM Sans': true,
|
||||||
|
Lato: true,
|
||||||
|
download: true,
|
||||||
|
inject: false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
], "@nuxt/icon"]
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user