18 lines
421 B
TypeScript
18 lines
421 B
TypeScript
|
// https://v3.nuxtjs.org/api/configuration/nuxt.config
|
||
|
|
||
|
import { getEnvConfig } from './nuxt/env'
|
||
|
const envConfig = getEnvConfig()
|
||
|
export default defineNuxtConfig({
|
||
|
css: ['@/assets/styles/index.scss'],
|
||
|
modules: ['@pinia/nuxt', '@nuxtjs/tailwindcss'],
|
||
|
app: {
|
||
|
baseURL: envConfig.baseUrl
|
||
|
},
|
||
|
runtimeConfig: {
|
||
|
public: {
|
||
|
...envConfig
|
||
|
}
|
||
|
},
|
||
|
ssr: !!envConfig.ssr
|
||
|
})
|