-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
121 lines (111 loc) · 2.92 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
115
116
117
118
119
120
121
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
runtimeConfig: {
public: {
github: {
scriptsUrl: 'https://github.com/dudintv/vizartist-scripts/tree/master/',
},
},
},
typescript: {
strict: true,
},
modules: [
'@nuxt/content',
[
'@pinia/nuxt',
{
autoImports: ['defineStore', 'acceptHMRUpdate'],
},
],
],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
css: ['@/assets/css/fonts.css', '@/assets/css/tailwind.css', '@/assets/css/main.css'],
app: {
pageTransition: { name: 'page', mode: 'out-in' },
head: {
title: 'dudin.tv',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: 'description',
name: 'description',
content: 'Vizrt scripts and articles by Dmitry Dudin',
},
{ name: 'msapplication-TileColor', content: '#603cba' },
{ name: 'theme-color', content: '#ffffff' },
{ hid: 'og:site_name', property: 'og:site_name', content: 'dudin.tv' },
{ hid: 'og:url', property: 'og:url', content: 'https://dudin.tv' },
{ hid: 'og:type', property: 'og:type', content: 'website' },
{
hid: 'og:title',
property: 'og:title',
content: 'Vizrt scripts by Dmitry Dudin',
},
{
hid: 'og:description',
property: 'og:description',
content: 'Many scripts to build smart scenes',
},
{
hid: 'og:image',
property: 'og:image',
content: 'https://dudin.tv/images/common/opengraph.jpg',
},
{
hid: 'og:image:alt',
property: 'og:image:alt',
content: 'Vizrt scripts from Dmitry Dudin',
},
{
hid: 'fb:app_id',
property: 'fb:app_id',
content: '2634632720190560',
},
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{
rel: 'icon',
type: 'image/png',
sizes: '32x32',
href: '/favicons/favicon-32x32.png',
},
{
rel: 'icon',
type: 'image/png',
sizes: '16x16',
href: '/favicons/favicon-16x16.png',
},
{
rel: 'apple-touch-icon',
sizes: '180x180',
href: '/favicons/apple-touch-icon.png',
},
{ rel: 'manifest', href: '/favicons/site.webmanifest' },
{
rel: 'mask-icon',
href: '/favicons/safari-pinned-tab.svg',
color: '#9804d0',
},
],
},
},
content: {
highlight: {
theme: 'github-dark',
preload: ['r', 'xml', 'vb'],
},
},
imports: {
dirs: ['store'],
},
plugins: [{ src: '~/plugins/lottie', mode: 'client' }],
compatibilityDate: '2024-09-29',
});