Nuxt/test/fixtures/spa-base/nuxt.config.js
pooya parsa dec8f99fc3
feat: support plug-and-play, typescript runtime and native modules (#8389)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-12-22 18:07:50 +01:00

14 lines
307 B
JavaScript

import { resolve } from 'path'
import { defaultsDeep } from 'lodash'
import baseNuxtConfig from '../spa/nuxt.config'
const config = {
buildDir: resolve(__dirname, '.nuxt'),
srcDir: resolve(__dirname, '..', 'spa'),
router: {
base: '/app'
}
}
export default defaultsDeep(config, baseNuxtConfig)