This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.ts
56 lines (53 loc) · 1.97 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
import { defineNuxtConfig } from "nuxt3"
import presetUno from "@unocss/preset-uno"
import presetAttributify from "@unocss/preset-attributify"
import presetIcons from "@unocss/preset-icons"
import { presetTypography } from "@unocss/preset-typography"
// process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = "0"
const baseURL = "https://shadowban-twitter.vercel.app"
export default defineNuxtConfig({
publicRuntimeConfig: {
API_URL: process.env.API_URL,
GTAG: process.env.GTAG,
},
meta: [
{ name: "title", content: "Am I being shadowbanned?" },
{ property: "og:title", content: "Am I being shadowbanned?" },
{
property: "og:description",
content: "A twitter shadowban checker. Let's check whether you are shadowbanned.",
},
{ property: "og:image", content: baseURL + "/images/ogp.png" },
{ property: "og:url", content: baseURL },
{ property: "og:type", content: "website" },
{ property: "og:site_name", content: "site_name" },
{ property: "twitter:card", content: "summary_large_image" },
// { name: "twitter:site", content: "@shadowban_twitter" },
{ name: "twitter:title", content: "Am I being shadowbanned?" },
{
property: "twitter:description",
content: "A twitter shadowban checker. Let's check whether you are shadowbanned.",
},
{ property: "twitter:image", content: baseURL + "/images/ogp.png" },
],
buildModules: ["@vueuse/nuxt", "@unocss/nuxt", "@pinia/nuxt", "@intlify/nuxt3"],
vueuse: {
ssrHandlers: true,
},
unocss: {
uno: true,
attributify: true,
preflight: true,
icons: {
scale: 1.2,
},
shortcuts: [],
presets: [presetAttributify(), presetUno(), presetIcons(), presetTypography()],
},
srcDir: "src",
intlify: {
localeDir: "locales",
defaultLocale: "ja",
fallbackLocale: "en",
},
})