18 lines
421 B
TypeScript
Executable File
18 lines
421 B
TypeScript
Executable File
// 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
|
|
})
|