forked from toffyui/manga-creator-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.js
101 lines (95 loc) · 2.38 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
require("dotenv").config();
const { API_BASE_URL, API_OGP_URL } = process.env;
export default {
/*
** Headers of the page
*/
head: {
title: "漫画ツクール",
htmlAttrs: {
lang: "ja",
prefix: "og: http://ogp.me/ns#",
},
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{
hid: "description",
name: "description",
content:
"You can easily create an Manga style image.\r\n漫画風の画像ををかんたんに作れるサービスです",
},
{
hid: "og:site_name",
property: "og:site_name",
content: "MangaCreator\r\n漫画ツクール",
},
{ hid: "og:type", property: "og:type", content: "article" },
{
hid: "og:url",
property: "og:url",
content: "https://manga.art-creator.net",
},
{
hid: "og:title",
property: "og:title",
content: "MangaCreator\r\n漫画ツクール",
},
{
hid: "og:description",
property: "og:description",
content:
"You can easily create an Manga style image.\r\n漫画風の画像ををかんたんに作れるサービスです",
},
{
hid: "og:image",
property: "og:image",
content: "https://yuilog.xyz/wp-content/uploads/2021/07/background.jpg",
},
{ name: "twitter:card", content: "summary_large_image" },
{
name: "twitter:image",
content: "https://yuilog.xyz/wp-content/uploads/2021/07/background.jpg",
},
{ name: "twitter:site", content: "@yui_active" },
],
link: [
{
rel: "icon",
type: "image/x-icon",
href: "https://yuilog.xyz/wp-content/uploads/2021/07/manga-favicon.jpg",
},
],
},
target: "static",
/*
** Global CSS
*/
css: [],
/*
** Plugins to load before mounting the App
*/
plugins: ["@/plugins/i18n.js"],
components: true,
env: {
API_BASE_URL,
API_OGP_URL,
},
buildModules: ["@nuxtjs/tailwindcss", "@aceforth/nuxt-optimized-images"],
optimizedImages: {
optimizeImages: true,
optimizeImagesInDev: true,
},
/*
** Nuxt.js modules
*/
modules: [
"@nuxtjs/axios",
"@nuxtjs/dotenv",
["cookie-universal-nuxt", { parseJSON: false }],
],
/*
** Build configuration
*/
build: {},
};