40 lines
992 B
TypeScript
40 lines
992 B
TypeScript
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
modules: ["@nuxt/content", "@nuxt/fonts", "@nuxt/image", "@nuxt/icon"],
|
|
devtools: { enabled: true },
|
|
compatibilityDate: "2024-04-03",
|
|
css: ["./assets/css/main.css"],
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
},
|
|
app: {
|
|
head: {
|
|
link: [
|
|
{
|
|
rel: "icon",
|
|
type: "image/svg+xml",
|
|
href: "/images/icon.svg",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
fonts: {
|
|
families: [
|
|
{
|
|
name: "Bricolage Grotesque",
|
|
provider: "google",
|
|
weights: [400, 600, 800],
|
|
},
|
|
],
|
|
},
|
|
nitro: {
|
|
prerender: {
|
|
ignore: ["/developers", "/contributors", "/download"],
|
|
crawlLinks: true,
|
|
routes: ["/"],
|
|
},
|
|
},
|
|
});
|