Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
fix(module): fix generate router permalink concatenation
Browse files Browse the repository at this point in the history
fixes #103
  • Loading branch information
medfreeman committed Oct 22, 2017
1 parent 90bc0b3 commit f553cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/content/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const interceptRoutes = (nuxt, routePaths) => {
nuxt.extendRoutes(routes => {
routes.forEach(route => {
if (routePaths.has(route.name)) {
route.path = join('/', routePaths.get(route.name))
route.path = '/' + routePaths.get(route.name)
} else if (route.children) {
route.children.forEach(nestedRoute => {
if (routePaths.has(nestedRoute.name)) {
Expand Down

0 comments on commit f553cda

Please sign in to comment.