-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
48 lines (47 loc) · 998 Bytes
/
nuxt.config.ts
File metadata and controls
48 lines (47 loc) · 998 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
41
42
43
44
45
46
47
48
import tailwindcss from "@tailwindcss/vite";
export default defineNuxtConfig({
compatibilityDate: "2025-07-15",
devtools: { enabled: false },
ssr: false,
nitro: { preset: "static" },
// app: { baseURL: "/devnotepad/" },
modules: [
"@nuxt/icon",
"@vueuse/nuxt",
"@vite-pwa/nuxt",
[
"@nuxtjs/google-fonts",
{
families: {
Roboto: true,
Inter: [400, 700],
Lato: [100, 300],
},
},
],
],
css: ["@/assets/css/main.css"],
vite: {
plugins: [tailwindcss()],
build: {
sourcemap: false,
},
},
icon: {
serverBundle: {
collections: ["mdi", "hugeicons"],
},
},
pwa: {
registerType: "autoUpdate",
manifest: {
name: "Dev Notepad",
short_name: "Notepad",
description: "A simple and useful notepad for developers.",
theme_color: "#42b883",
background_color: "#ffffff",
display: "standalone",
start_url: "/",
},
},
});