25 lines
548 B
TypeScript
25 lines
548 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
devtools: { enabled: true },
|
|
ssr: false,
|
|
runtimeConfig: {
|
|
public: {
|
|
websocketEndpoint: 'ws://127.0.0.1:8765', // can be overridden by NUXT_PUBLIC_API_BASE environment variable
|
|
discordLoginEndpoint: ''
|
|
}
|
|
},
|
|
modules: [
|
|
'@pinia/nuxt',
|
|
'@pinia-plugin-persistedstate/nuxt',
|
|
],
|
|
app: {
|
|
head: {
|
|
script: [{
|
|
src: "/webgl-utils.js"
|
|
}, {
|
|
src: "https://lygia.xyz/resolve.js"
|
|
}]
|
|
}
|
|
},
|
|
})
|