mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
dec8f99fc3
Co-authored-by: Clark Du <clark.duxin@gmail.com>
14 lines
307 B
JavaScript
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: {
|
|
mode: 'hash'
|
|
}
|
|
}
|
|
|
|
export default defaultsDeep(config, baseNuxtConfig)
|