-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
32 lines (32 loc) · 856 Bytes
/
nuxt.config.ts
File metadata and controls
32 lines (32 loc) · 856 Bytes
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: true,
target: 'static',
app: {
baseURL: '/eye-training/', // Important for GitHub Pages
head: {
title: 'Game Title',
meta: [
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'description', content: 'Game Description' },
],
},
},
compatibilityDate: '2024-11-01',
devtools: { enabled: false },
modules: [
'@pinia/nuxt',
'pinia-plugin-persistedstate/nuxt',
'@nuxtjs/tailwindcss',
],
plugins: [
'~/plugins/pinia.ts',
],
// Runtime config allows passing variables to the Vue app
runtimeConfig: {
// Public values are exposed client-side
public: {
enableWarmup: false // Set to false to disable warmup rounds (default: true)
}
},
})