mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
Fix test on windows
This commit is contained in:
parent
9372734e3f
commit
9a6b74a179
4
test/fixtures/with-config/nuxt.config.js
vendored
4
test/fixtures/with-config/nuxt.config.js
vendored
@ -1,5 +1,3 @@
|
|||||||
const resolve = require('path').resolve
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
router: {
|
router: {
|
||||||
base: '/test/',
|
base: '/test/',
|
||||||
@ -7,7 +5,7 @@ module.exports = {
|
|||||||
routes.push({
|
routes.push({
|
||||||
name: 'about-bis',
|
name: 'about-bis',
|
||||||
path: '/about-bis',
|
path: '/about-bis',
|
||||||
component: resolve(__dirname, 'pages/about.vue')
|
component: '~pages/about.vue'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user