-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnuxt.config.ts
30 lines (29 loc) · 1.41 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
const description = 'A suite of open-source tools that help you visualise potential performance issues, detect regressions, decode compiler measurements and much more.'
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@nuxtjs/tailwindcss', '@nuxt/fonts', '@nuxt/eslint', '@nuxtjs/plausible', '@nuxthub/core'],
srcDir: 'src',
hub: { database: true },
plausible: { domain: 'tsperf.dev', apiHost: 'https://v.roe.dev' },
eslint: { config: { stylistic: true } },
app: {
head: {
htmlAttrs: { lang: 'en' },
title: 'TypeScript performance made easy',
link: [{ rel: 'icon', href: '/favicon.png' }],
meta: [
{ name: 'description', content: description },
{ property: 'og:type', content: 'website' },
{ property: 'og:url', content: 'https://tsperf.dev/' },
{ property: 'og:title', content: 'TypeScript performance made easy' },
{ property: 'og:description', content: description },
{ property: 'og:image', content: 'https://tsperf.dev/og.png' },
{ property: 'twitter:url', content: 'https://tsperf.dev/' },
{ property: 'twitter:title', content: 'TypeScript performance made easy' },
{ property: 'twitter:description', content: description },
{ property: 'twitter:image', content: 'https://tsperf.dev/og.png' },
{ property: 'twitter:card', content: 'summary_large_image' },
],
},
},
})