-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
81 lines (79 loc) · 2.95 KB
/
nuxt.config.ts
File metadata and controls
81 lines (79 loc) · 2.95 KB
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
import { nuxtViteConfig } from "./build/nuxt-vite";
const defaultUrl = "https://vuefes.jp/2019/";
const defaultTitle = "Vue Fes Japan 2019";
const defaultDescription =
"2019年10月12日(土)に開催される日本最大級の Vue.js カンファレンス。国内外の著名スピーカーによるセッションの他、ユーザー同士が気軽に話し合える場も設ける予定です。ぜひ、一緒に Vue.js を楽しみ、盛り上げていきましょう!";
const defaultOgImageUrl = "https://vuefes.jp/2019/opengraph.png";
const applicationName = "Vue Fes";
export default defineNuxtConfig({
compatibilityDate: "2026-03-25",
srcDir: "src/",
ssr: true,
devtools: {
enabled: true,
},
app: {
baseURL: "/2019/",
head: {
htmlAttrs: {
lang: "ja",
},
title: defaultTitle,
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ name: "og:locale", content: "ja_JP" },
{ name: "og:type", content: "website" },
{ name: "og:site_name", content: "Vue Fes Japan 2019" },
{ name: "twitter:creator", content: "@vuefes" },
{ name: "description", content: defaultDescription },
{ name: "og:url", content: defaultUrl },
{ name: "og:title", content: defaultTitle },
{ name: "og:description", content: defaultDescription },
{ name: "og:image", content: defaultOgImageUrl },
{ name: "og:image:secure_url", content: defaultOgImageUrl },
{ name: "twitter:card", content: "summary_large_image" },
{ name: "twitter:title", content: defaultTitle },
{ name: "twitter:description", content: defaultDescription },
{ name: "twitter:image", content: defaultOgImageUrl },
{ name: "application-name", content: applicationName },
{ name: "apple-mobile-web-app-title", content: applicationName },
{ name: "mobile-web-app-capable", content: "yes" },
{ name: "author", content: "INOUE Takuya" },
{ name: "theme-color", content: "#fff" },
],
link: [
{ rel: "icon", type: "image/x-icon", href: "/2019/favicon.ico" },
{ rel: "manifest", href: "/2019/manifest.webmanifest" },
{ rel: "shortcut icon", href: "/2019/favicon.ico" },
{
rel: "apple-touch-icon",
href: "/2019/apple-touch-icon.png",
sizes: "180x180",
},
],
},
},
css: ["normalize.css/normalize.css", "~/assets/stylesheets/main.scss"],
components: [
{
path: "~/components",
pathPrefix: false,
},
],
modules: ["@nuxt/test-utils/module"],
runtimeConfig: {
contentfulSpaceId: process.env.CTF_SPACE_ID || "",
contentfulAccessToken: process.env.CTF_CDA_ACCESS_TOKEN || "",
public: {
googleMapsApiKey: process.env.GOOGLE_MAPS_API_KEY || "",
},
},
nitro: {
prerender: {
crawlLinks: true,
routes: ["/"],
},
},
vite: nuxtViteConfig,
});