-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
52 lines (51 loc) · 1.53 KB
/
nuxt.config.ts
File metadata and controls
52 lines (51 loc) · 1.53 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
import { defineNuxtConfig } from 'nuxt'
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
components: true,
publicRuntimeConfig: {
graphqlApiURL: process.env.GRAPHQL_API_URL || "http://localhost:3000/api/graphql",
},
app: {
head: {
title: 'C4T Game',
htmlAttrs: {
lang: 'en',
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: '' },
{ name: 'format-detection', content: 'telephone=no' },
{ 'http-equiv': 'X-UA-Compatible', content: 'IE=edge' },
],
link: [
{
rel: 'stylesheet',
media: 'screen',
href: 'https://fontlibrary.org//face/glacial-indifference',
type: 'text/css',
}
],
script: [],
},
},
css: ['@/assets/css/main.css'],
vue: {
compilerOptions: {
comments: false,
},
},
buildModules: [
// https://go.nuxtjs.dev/tailwindcss
'@nuxtjs/tailwindcss',
'@nuxt-hero-icons/solid/nuxt',
'@nuxt-hero-icons/outline/nuxt',
],
plugins: [
"~/plugins/apolloClient.ts",
],
tailwindcss: {
configPath: 'tailwind.config.js',
cssPath: '~/assets/css/tailwind.css',
}
})