-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnuxt.config.js
186 lines (175 loc) · 4.71 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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
const pkg = require("./package");
module.exports = {
target: "static",
/*
** Headers of the page
*/
head: {
title: "Online and Free | TikTok Video Downloader",
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{
hid: "og:title",
property: "og:title",
content: "Online and Free | TikTok Video Downloader"
},
{
hid: "description",
name: "description",
content:
"TikTok Video Downloader is a completely free online option to download TikTok videos and save them as mp4."
},
{
hid: "og:description",
property: "og:description",
content:
"TikTok Video Downloader is a completely free online option to download TikTok videos and save them as mp4."
},
{ hid: "og:locale", property: "og:locale", content: "en" },
{ hid: "og:type", property: "og:type", content: "website" },
{
hid: "og:image",
property: "og:image",
content: "https://tiktokvideodownloader.online/og-image.png"
},
{
hid: "og:site_name",
property: "og:site_name",
content: "TikTok Video Downloader"
},
// Twitter
{ hid: "twitter:card", name: "twitter:card", content: "summary" },
{
hid: "twitter:size",
name: "twitter:site",
content: "TikTok Video Downloader"
},
{
hid: "twitter:title",
name: "twitter:title",
content:
"Download TikTok videos online with TikTok Video Downloader. Completely free."
},
{
hid: "twitter:description",
name: "twitter:description",
content:
"TikTok Video Downloader is a completely free online option to download TikTok videos and save them as mp4."
},
{
hid: "twitter:image",
name: "twitter:image:src",
content: "https://tiktokvideodownloader.online/twitter-image.png"
},
// Apple
{
hid: "apple-mobile-web-app-capable",
name: "apple-mobile-web-app-capable",
content: "yes"
},
{
hid: "apple-mobile-web-app-title",
name: "apple-mobile-web-app-title",
content: "TikTok Video Downloader"
},
{
hid: "apple-mobile-web-app-title",
name: "apple-mobile-web-app-title",
content: "TikTok Video Downloader"
}
],
link: [
{ rel: "preconnect", href: "https://www.googletagmanager.com" },
{ rel: "preconnect", href: "https://cdn.jsdelivr.net" },
{
rel: "preconnect",
href: "https://firebaseinstallations.googleapis.com"
},
{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" },
{ rel: "shortcut icon", type: "image/x-icon", href: "/favicon.ico" },
{
rel: "apple-touch-icon",
sizes: "180x180",
href: "https://tiktokvideodownloader.online/apple-touch-icon.png"
}
]
},
/*
** Customize the progress-bar color
*/
loading: { color: "#fe2c55" },
/*
** Global CSS
*/
css: ["~/assets/main.scss"],
/*
** Plugins to load before mounting the App
*/
plugins: [],
/*
** Nuxt.js modules
*/
modules: ["@nuxtjs/firebase", "@nuxtjs/pwa", "nuxt-purgecss"],
workbox: {
runtimeCaching: [
{
urlPattern: "https://fonts.googleapis.com/*",
handler: "cacheFirst",
method: "GET",
strategyOptions: { cacheableResponse: { statuses: [0, 200] } }
}
]
},
pwa: {
manifest: {
name: "TikTok Video Downloader",
lang: "en",
short_name: "TikTok Downloader",
description:
"TikTok Video Downloader is a completely free online option to download TikTok videos and save them as mp4.",
background_color: "#fff",
theme_color: "#fe2c55",
start_url: "/"
}
},
// Replace values with your own project
firebase: {
config: {
apiKey: "FIREBASE_API_KEY",
authDomain: "FIREBASE_AUTH_DOMAIN",
databaseURL: "FIREBASE_DATABASE_URL",
projectId: "FIREBASE_PROJECT_ID",
storageBucket: "FIREBASE_STORAGE_BUCKET",
messagingSenderId: "FIREBASE_MESSAGING_SENDER_ID",
appId: "FIREBASE_APP_ID",
measurementId: "FIREBASE_MEASUREMENT_ID"
},
services: {
performance: true,
analytics: true,
functions: {
emulatorPort: process.env.NODE_ENV !== "production" ? 5001 : null
}
}
},
performance: {
preload: true
},
analytics: {
preload: true
},
functions: {
preload: true
},
/*
** Build configuration
*/
build: {
/*
** You can extend webpack config here
*/
extractCSS: true,
extend(config, ctx) {}
}
};