Skip to content

Commit

Permalink
Merge pull request #35 from nuxt-community/fix-path
Browse files Browse the repository at this point in the history
fix(paths): support for windows paths
  • Loading branch information
ricardogobbosouza authored Feb 15, 2019
2 parents 3ca218b + e1817ba commit 1da159d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function routerModule(moduleOptions) {
src: resolve(__dirname, 'plugin.js'),
fileName: 'router.js',
options: {
routerFilePath: relative(this.options.buildDir, routerFilePath).replace(/\/+/g, '/'),
routerFilePath: relative(this.options.buildDir, routerFilePath).replace(/\/\//g, '/'),
keepDefaultRouter: options.keepDefaultRouter
}
})
Expand Down

0 comments on commit 1da159d

Please sign in to comment.