File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
packages/@vuepress/client/src Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { computed, h } from 'vue'
22import type { CreateAppFunction , App , ComponentOptions } from 'vue'
33import { createRouter , RouterView , START_LOCATION } from 'vue-router'
44import type { Router , RouterHistory } from 'vue-router'
5- import { removeEndingSlash } from '@vuepress/shared'
65import { clientAppEnhances } from '@internal/clientAppEnhances'
76import { clientAppRootComponents } from '@internal/clientAppRootComponents'
87import { clientAppSetups } from '@internal/clientAppSetups'
@@ -72,8 +71,7 @@ export const createVueApp = async ({
7271
7372 // create vue-router
7473 const router = createRouter ( {
75- // TODO: it might be an issue of vue-router that have to remove the ending slash
76- history : historyCreator ( removeEndingSlash ( siteData . value . base ) ) ,
74+ history : historyCreator ( siteData . value . base ) ,
7775 routes : pagesRoutes ,
7876 scrollBehavior : ( to , from , savedPosition ) => {
7977 if ( savedPosition ) {
You can’t perform that action at this time.
0 commit comments