mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
27 lines
534 B
Handlebars
27 lines
534 B
Handlebars
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: 'latest',
|
|
devtools: { enabled: true },
|
|
modules: [
|
|
'@nuxt/ui'
|
|
{{#if (eq backend "convex")}},
|
|
'convex-nuxt'
|
|
{{/if}}
|
|
],
|
|
css: ['~/assets/css/main.css'],
|
|
devServer: {
|
|
port: 3001
|
|
},
|
|
ssr: true,
|
|
{{#if (eq backend "convex")}}
|
|
convex: {
|
|
url: process.env.NUXT_PUBLIC_CONVEX_URL,
|
|
},
|
|
{{/if}}
|
|
runtimeConfig: {
|
|
public: {
|
|
serverURL: process.env.NUXT_PUBLIC_SERVER_URL,
|
|
}
|
|
}
|
|
})
|