-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
40 lines (36 loc) · 908 Bytes
/
nuxt.config.ts
File metadata and controls
40 lines (36 loc) · 908 Bytes
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
import path from "node:path";
import tailwindcss from "@tailwindcss/vite";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2025-07-15",
devtools: { enabled: true },
alias: {
"~": path.resolve("./"),
},
modules: ["@nuxtjs/google-fonts", "@vueuse/nuxt"],
googleFonts: {
families: {
"Fira Code": [400, 500, 600],
Inter: [400, 500, 600, 700],
},
display: "swap",
},
css: ["~/assets/css/main.css"],
vite: {
plugins: [tailwindcss()],
},
app: {
head: {
title: "Live JS Coding",
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{
name: "description",
content:
"Minimalist platform for writing and executing JavaScript code in real time",
},
],
},
},
});