finance-pay-admin/pc/nuxt.config.ts

18 lines
421 B
TypeScript
Raw Permalink Normal View History

2023-11-08 18:02:55 +08:00
// 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
})