-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
50 lines (50 loc) · 1.1 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
export default defineNuxtConfig({
typescript: {
shim: false,
},
app: {
head: {
htmlAttrs: {
lang: "es",
},
charset: "utf-8",
title: "STN",
meta: [
// <meta name="description" content="My amazing site">
{ name: "description", content: "Diseño y software libres" },
],
},
pageTransition: { name: "page", mode: "out-in" },
},
image: {
domains: ["res.cloudinary.com"],
},
css: [
// SCSS file in the project
"~/assets/css/main.css",
"@fontsource/yeseva-one",
"@fontsource/space-mono",
],
tailwindcss: {
config: {
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./nuxt.config.{js,ts}",
],
theme: {
fontFamily: {
serif: ["Yeseva One", "serif"],
mono: ["Space Mono", "mono"],
},
},
plugins: [require("@tailwindcss/typography")],
},
},
modules: ["@nuxtjs/tailwindcss", "@nuxt/image"],
build: {
transpile: ["@headlessui/vue"],
},
});