-
Notifications
You must be signed in to change notification settings - Fork 4
/
nuxt.config.js
46 lines (46 loc) · 1.01 KB
/
nuxt.config.js
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
charset: "utf-8",
viewport: "width=device-width, initial-scale=1,maximum-scale=1",
title: "超人幫手",
link: [
{
rel: "stylesheet",
href: "https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css",
},
],
},
},
css: [
"vuetify/lib/styles/main.sass",
"@mdi/font/css/materialdesignicons.min.css",
"leaflet/dist/leaflet.css",
],
build: {
transpile: ["vuetify"],
},
vite: {
define: {
"process.env.DEBUG": false,
},
},
modules: [
"@nuxtjs/tailwindcss",
"@pinia/nuxt",
"@vueuse/nuxt",
"nuxt-swiper",
"@lewebsimple/nuxt3-svg",
"@nuxt/image-edge",
'nuxt3-socket.io',
],
socket: {
// JSON serializable options only.
// options object to pass when instantiating socket server.
serverOptions: {}
},
experimental: {
writeEarlyHints: false,
},
});