Nuxt/test/fixtures/basic/nuxt.config.ts
pooya parsa 45b4946026
feat(nuxt3, bridge): useRuntimeConfig (#625)
Co-Authored-By: Daniel Roe <daniel@roe.dev>
2021-10-02 22:30:20 +02:00

13 lines
282 B
TypeScript

import { defineNuxtConfig } from '@nuxt/kit'
export default defineNuxtConfig({
buildDir: process.env.NITRO_BUILD_DIR,
nitro: {
output: { dir: process.env.NITRO_OUTPUT_DIR }
},
publicRuntimeConfig: {
// @ts-ignore TODO: Fix schema types
testConfig: '123'
}
})