-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
75 lines (74 loc) · 2.07 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
import { defineNuxtConfig } from "nuxt3";
import { resolve } from "pathe";
// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
export default defineNuxtConfig({
vue: {
compilerOptions: {
isCustomElement: (tag) => ['climate-clock'].includes(tag),
},
},
//ErrorPage: "error",
build: {
transpile: ["three", "troisjs"],
},
alias: {
"😺": ".",
"😺/*": "./*",
"👽": resolve(__dirname, "assets"),
"👽/*": resolve(__dirname, "assets/*"),
},
css:['@/assets/main.css'],
modules: ["@nuxtjs/tailwindcss"],
messages: { error_404: "CAT NOT FOUND", loading: "JU JU" },
meta: {
title: "John-Weak",
meta: [
{ name: "title", content: "John-Weak" },
{ name: "description", content: "Tushar Bali's personal profile" },
{ name: "author", content: "Tushar Bali/John-Weak" },
{
name: "theme-color",
content: "#000000",
media: "(prefers-color-scheme: dark)",
},
{
name: "theme-color",
content: "#000000",
media: "(prefers-color-scheme: light)",
},
//Open Graph/Facebook
{ property: "og:url", content: "https://johnweak.dev" },
{ property: "og:title", content: "John-Weak" },
{
property: "og:description",
content: "Tushar Bali's personal profile",
},
{
property: "og:image",
content: "https://johnweak.dev/images/haha_cat.jpg",
},
//Twitter
{ property: "twitter:url", content: "https://johnweak.dev" },
{ property: "twitter:title", content: "John-Weak" },
{
property: "twitter:description",
content: "Tushar Bali's personal profile",
},
{
property: "twitter:image",
content: "https://johnweak.dev/images/haha_cat.jpg",
},
{
property: "twitter:card",
content: "summary_large_image",
},
{
property: "twitter:creator",
content: "tusharbali",
},
],
script: [
{ src: 'https://climateclock.world/widget-v2.js',async: true, defer: true }
]
},
});