@vuepress/client
Advanced tools
Comparing version 2.0.0-beta.56 to 2.0.0-beta.57
@@ -18,3 +18,3 @@ import { | ||
withBase | ||
} from "./chunk-YRWD2ESJ.js"; | ||
} from "./chunk-5XHTLU25.js"; | ||
@@ -109,3 +109,3 @@ // src/app.ts | ||
const router = createRouter({ | ||
history: historyCreator(removeEndingSlash(siteData.value.base)), | ||
history: historyCreator(removeEndingSlash(__VUEPRESS_BASE__)), | ||
routes: await createRoutes(), | ||
@@ -112,0 +112,0 @@ scrollBehavior: (to, from, savedPosition) => { |
@@ -238,2 +238,7 @@ import { PageData, PageFrontmatter, HeadConfig, SiteData } from '@vuepress/shared'; | ||
/** | ||
* Prefix url with site base | ||
*/ | ||
declare const withBase: (url: string) => string; | ||
/** | ||
* Resolver methods to get global computed | ||
@@ -253,7 +258,2 @@ * | ||
/** | ||
* Prefix url with site base | ||
*/ | ||
declare const withBase: (url: string) => string; | ||
export { ClientConfig, ClientOnly, Content, CreateVueAppFunction, PageDataRef, PageFrontmatterRef, PageHead, PageHeadRef, PageHeadTitle, PageHeadTitleRef, PageLang, PageLangRef, PageRouteItem, PagesData, PagesDataRef, RouteLocale, RouteLocaleRef, SiteDataRef, SiteLocaleData, SiteLocaleDataRef, UpdateHead, defineClientConfig, pageData, pageDataEmpty, pageFrontmatterSymbol, pageHeadSymbol, pageHeadTitleSymbol, pageLangSymbol, pagesData, resolvers, routeLocaleSymbol, siteData, siteLocaleDataSymbol, updateHeadSymbol, usePageData, usePageFrontmatter, usePageHead, usePageHeadTitle, usePageLang, usePagesData, useRouteLocale, useSiteData, useSiteLocaleData, useUpdateHead, withBase }; |
import { | ||
ClientOnly, | ||
Content, | ||
defineClientConfig, | ||
pageData, | ||
@@ -27,6 +28,3 @@ pageDataEmpty, | ||
withBase | ||
} from "./chunk-YRWD2ESJ.js"; | ||
// src/helpers/defineClientConfig.ts | ||
var defineClientConfig = (clientConfig = {}) => clientConfig; | ||
} from "./chunk-5XHTLU25.js"; | ||
export { | ||
@@ -33,0 +31,0 @@ ClientOnly, |
{ | ||
"name": "@vuepress/client", | ||
"version": "2.0.0-beta.56", | ||
"version": "2.0.0-beta.57", | ||
"description": "Client package of VuePress", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
"vue-router": "^4.1.6", | ||
"@vuepress/shared": "2.0.0-beta.56" | ||
"@vuepress/shared": "2.0.0-beta.57" | ||
}, | ||
@@ -42,0 +42,0 @@ "publishConfig": { |
declare const __VUEPRESS_VERSION__: string | ||
declare const __VUEPRESS_BASE__: string | ||
declare const __VUEPRESS_DEV__: boolean | ||
@@ -3,0 +4,0 @@ declare const __VUEPRESS_SSR__: boolean |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30050
934
+ Added@vuepress/shared@2.0.0-beta.57(transitive)
- Removed@vuepress/shared@2.0.0-beta.56(transitive)