-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
40 lines (38 loc) · 1.17 KB
/
nuxt.config.ts
File metadata and controls
40 lines (38 loc) · 1.17 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
import NuxtConfiguration from "@nuxt/config";
const config: NuxtConfiguration = {
env: {
baseUrl: process.env.BASE_URL || "http://localhost:3000",
googleMapsApiKey: process.env.GOOGLE_MAPS_API_KEY || '',
},
head: {
title: "GameComponent",
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{
hid: "description",
name: "description",
content:
"GameComponent provides software services for your online game. Don't reinvent the wheel, use small and powerful services to power your game."
}
],
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }]
},
loading: { color: "#3B8070" },
css: ["~/assets/css/tailwind.css", "~/assets/css/main.css"],
build: {
postcss: [require("tailwindcss")("./tailwind.js"), require("autoprefixer")],
transpile: [/^vue2-google-maps($|\/)/]
},
modules: [
"@nuxtjs/axios",
"vue-github-buttons/nuxt",
["@nuxtjs/google-tag-manager", { id: "GTM-WPLNL89" }]
],
axios: {},
generate: {
routes: ["404"]
},
plugins: [{ src: "~/plugins/google-maps", ssr: true }]
};
export default config;