Skip to content

Commit 5e6eacd

Browse files
authored
docs: fix a minor typo in an import example (#2276)
1 parent 88ccbc6 commit 5e6eacd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/docs/docs/theme/inheritance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Then, in any Vue components on the theme, **you should access the theme root dir
129129

130130
```vue
131131
<script>
132-
import Home from '@theme/components/Navbar.vue'
132+
import Navbar from '@theme/components/Navbar.vue'
133133
// ...
134134
</script>
135135
```

packages/docs/docs/zh/theme/inheritance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ theme
129129

130130
```vue
131131
<script>
132-
import Home from '@theme/components/Navbar.vue'
132+
import Navbar from '@theme/components/Navbar.vue'
133133
// ...
134134
</script>
135135
```

0 commit comments

Comments
 (0)