-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
114 lines (112 loc) · 2.69 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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
import process from 'node:process'
const path = process.env.NODE_ENV === 'development' ? '/' : '/kanban-task-management/'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
css: [
'~/assets/style/reset.css',
'~/assets/style/main.scss',
],
modules: [
'@vueuse/nuxt',
'nuxt-svgo',
'@pinia/nuxt',
'@nuxtjs/google-fonts',
],
googleFonts: {
families: {
'Plus Jakarta Sans': {
wght: [500, 700],
},
},
},
vite: {
css: {
preprocessorOptions: {
scss: {
additionalData: `
@use "sass:math";
@import "~/assets/style/config/index.scss";
`,
},
},
},
},
app: {
baseURL: path,
buildAssetsDir: '/static/',
head: {
htmlAttrs: {
lang: 'en',
},
link: [
{
rel: 'icon',
type: 'image/png',
href: `${path}favicon.ico`,
},
{
rel: 'icon',
type: 'image/png',
sizes: '32x32',
href: `${path}favicon-32x32.png`,
},
{
rel: 'icon',
type: 'image/png',
sizes: '16x16',
href: `${path}favicon-16x16.png`,
},
{
rel: 'apple-touch-icon',
sizes: '180x180',
href: `${path}apple-touch-icon.png`,
},
{
rel: 'manifest',
href: 'manifest.json',
},
{
rel: 'canonical',
href: 'https://yuna9068.github.io/kanban-task-management/',
},
],
meta: [
{
name: 'theme-color',
media: '(prefers-color-scheme: light)',
content: '#FFFFFF',
},
{
name: 'theme-color',
media: '(prefers-color-scheme: dark)',
content: '#2B2C37',
},
{
name: 'description',
content: 'This is a solution to the Kanban task management web app challenge on Frontend Mentor.',
},
{
name: 'keywords',
content: 'Kanban, Task, Management, Frontend Mentor',
},
{
property: 'og:type',
content: 'website',
},
{
property: 'og:description',
content: 'This is a solution to the Kanban task management web app challenge on Frontend Mentor.',
},
{
property: 'og:image',
content: 'https://raw.githubusercontent.com/yuna9068/kanban-task-management/main/docs/screenshot/index-light.png',
},
{
property: 'og:url',
content: 'https://yuna9068.github.io/kanban-task-management/',
},
],
},
},
})