-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
91 lines (83 loc) · 1.96 KB
/
nuxt.config.ts
File metadata and controls
91 lines (83 loc) · 1.96 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'@nuxt/eslint',
'@nuxtjs/tailwindcss',
'@pinia/nuxt',
'pinia-plugin-persistedstate/nuxt',
'@vueuse/nuxt',
'nuxt-headlessui',
'@formkit/auto-animate/nuxt',
'@nuxt/scripts',
],
$production: {
scripts: {
registry: {
clarity: {
id: 'p72fcmul7c',
},
googleAnalytics: {
id: 'G-C00XKTBGWY',
},
},
},
},
imports: {
dirs: ['types'],
},
devtools: {
enabled: true,
timeline: {
enabled: true,
},
},
app: {
head: {
title: 'lara.moe',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'theme-color', content: '#FFB944' },
{ name: 'og:type', property: 'og:type', content: 'website' },
{ name: 'og:site_name', property: 'og:site_name', content: 'lara.moe' },
{ name: 'og:title', property: 'og:title', content: 'lara.moe' },
{ name: 'og:image', property: 'og:image', content: '/og.png' },
{
hid: 'description',
name: 'description',
content: '메이플스토리 종합 데이터분석 서비스 라라모에', // TODO: 메타태그 설정
},
],
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
},
},
css: [
'pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css',
],
runtimeConfig: {
public: {
apiBaseUrl: 'https://api.lara.moe',
},
},
build: {
transpile: ['hangul-typing-animation'],
},
devServer: {
port: 3001,
},
future: {
compatibilityVersion: 4, // Nuxt 4 대비해서 미리 활성화
},
compatibilityDate: '2024-08-10',
eslint: {
config: {
stylistic: true,
},
},
headlessui: {
prefix: 'H',
},
tailwindcss: {
cssPath: '~/assets/css/tailwind.css',
},
})