Skip to content

Commit

Permalink
chore: fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 26, 2024
1 parent dae27e7 commit e0060b7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/.vuepress/configs/head.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { HeadConfig } from '@vuepress/core'
import type { HeadConfig } from 'vuepress/core'

export const head: HeadConfig[] = [
[
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/configs/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import { fs } from 'vuepress/utils'
const require = createRequire(import.meta.url)

export const version = fs.readJsonSync(
require.resolve('@vuepress/core/package.json'),
require.resolve('vuepress/core/package.json'),
).version
4 changes: 0 additions & 4 deletions docs/reference/node-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

Node API is provided by [@vuepress/core](https://www.npmjs.com/package/@vuepress/core) package, which is also available as `vuepress/core`.

```bash
npm i -D @vuepress/core@next
```

## App

The app instance is available in all hooks of [Plugin API](./plugin-api.md).
Expand Down
4 changes: 0 additions & 4 deletions docs/zh/reference/node-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

Node API 是由 [@vuepress/core](https://www.npmjs.com/package/@vuepress/core) 包提供的,同时也可以通过 `vuepress/core` 来引入。

```bash
npm i -D @vuepress/core@next
```

## App

[插件 API](./plugin-api.md) 的所有 Hooks 中都可以获取到 App 实例。
Expand Down

0 comments on commit e0060b7

Please sign in to comment.