Skip to content

Commit 79b7671

Browse files
committed
docs: update client import path
1 parent 1810391 commit 79b7671

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

docs/reference/default-theme/extending.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Next, create the `.vuepress/theme/layouts/Layout.vue`, and make use of the slots
4949

5050
```vue
5151
<script setup>
52-
import ParentLayout from '@vuepress/theme-default/lib/client/layouts/Layout.vue'
52+
import ParentLayout from '@vuepress/theme-default/layouts/Layout.vue'
5353
</script>
5454
5555
<template>

docs/reference/plugin/medium-zoom.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ You can customize most of the zoom styles via [zoomOptions](#zoomoptions), while
8383

8484
```ts
8585
import { nextTick } from 'vue'
86-
import { useMediumZoom } from '@vuepress/plugin-medium-zoom/lib/client'
86+
import { useMediumZoom } from '@vuepress/plugin-medium-zoom/client'
8787

8888
export default {
8989
setup() {

docs/reference/plugin/pwa.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ But if you omit `skipWaiting` or set it to `false`, you have to activate the new
131131
- Example:
132132

133133
```ts
134-
import { usePwaEvent } from '@vuepress/plugin-pwa/lib/client'
134+
import { usePwaEvent } from '@vuepress/plugin-pwa/client'
135135

136136
export default {
137137
setup() {
@@ -161,7 +161,7 @@ export default {
161161
import {
162162
usePwaEvent,
163163
useSkipWaiting,
164-
} from '@vuepress/plugin-pwa/lib/client'
164+
} from '@vuepress/plugin-pwa/client'
165165

166166
export default {
167167
setup() {

docs/reference/plugin/theme-data.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ The theme data object will be processed by `JSON.stringify()` before forwarding
7676
- Example:
7777

7878
```ts
79-
import { useThemeData } from '@vuepress/plugin-theme-data/lib/client'
80-
import type { ThemeData } from '@vuepress/plugin-theme-data/lib/client'
79+
import { useThemeData } from '@vuepress/plugin-theme-data/client'
80+
import type { ThemeData } from '@vuepress/plugin-theme-data/client'
8181

8282
type MyThemeData = ThemeData<{
8383
foo: string
@@ -102,8 +102,8 @@ export default {
102102
- Example:
103103

104104
```ts
105-
import { useThemeLocaleData } from '@vuepress/plugin-theme-data/lib/client'
106-
import type { ThemeData } from '@vuepress/plugin-theme-data/lib/client'
105+
import { useThemeLocaleData } from '@vuepress/plugin-theme-data/client'
106+
import type { ThemeData } from '@vuepress/plugin-theme-data/client'
107107

108108
type MyThemeData = ThemeData<{
109109
foo: string

docs/zh/reference/default-theme/extending.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const localTheme = (options: DefaultThemeOptions): Theme => {
4949

5050
```vue
5151
<script setup>
52-
import ParentLayout from '@vuepress/theme-default/lib/client/layouts/Layout.vue'
52+
import ParentLayout from '@vuepress/theme-default/layouts/Layout.vue'
5353
</script>
5454
5555
<template>

docs/zh/reference/plugin/medium-zoom.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default {
8383

8484
```ts
8585
import { nextTick } from 'vue'
86-
import { useMediumZoom } from '@vuepress/plugin-medium-zoom/lib/client'
86+
import { useMediumZoom } from '@vuepress/plugin-medium-zoom/client'
8787

8888
export default {
8989
setup() {

docs/zh/reference/plugin/pwa.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export default {
131131
- 示例:
132132

133133
```ts
134-
import { usePwaEvent } from '@vuepress/plugin-pwa/lib/client'
134+
import { usePwaEvent } from '@vuepress/plugin-pwa/client'
135135

136136
export default {
137137
setup() {
@@ -161,7 +161,7 @@ export default {
161161
import {
162162
usePwaEvent,
163163
useSkipWaiting,
164-
} from '@vuepress/plugin-pwa/lib/client'
164+
} from '@vuepress/plugin-pwa/client'
165165

166166
export default {
167167
setup() {

docs/zh/reference/plugin/theme-data.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ export default {
7676
- 示例:
7777

7878
```ts
79-
import { useThemeData } from '@vuepress/plugin-theme-data/lib/client'
80-
import type { ThemeData } from '@vuepress/plugin-theme-data'
79+
import { useThemeData } from '@vuepress/plugin-theme-data/client'
80+
import type { ThemeData } from '@vuepress/plugin-theme-data/client'
8181

8282
type MyThemeData = ThemeData<{
8383
foo: string
@@ -102,8 +102,8 @@ export default {
102102
- 示例:
103103

104104
```ts
105-
import { useThemeLocaleData } from '@vuepress/plugin-theme-data/lib/client'
106-
import type { ThemeData } from '@vuepress/plugin-theme-data/lib/client'
105+
import { useThemeLocaleData } from '@vuepress/plugin-theme-data/client'
106+
import type { ThemeData } from '@vuepress/plugin-theme-data/client'
107107

108108
type MyThemeData = ThemeData<{
109109
foo: string

0 commit comments

Comments
 (0)