Skip to content

Commit

Permalink
docs: 更新库 api 引入列表
Browse files Browse the repository at this point in the history
  • Loading branch information
markthree committed Jun 5, 2023
1 parent 30d0e53 commit 0c9ae91
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,18 @@ const doubled = computed(() => count.value * 2);
而且上边的 `api` 是按需自动引入的。

目前模板支持自动引入 `api` 的库列表 👉
[vite-auto-import-resolvers](https://github.com/dishait/vite-auto-import-resolvers#%E9%BB%98%E8%AE%A4%E6%94%AF%E6%8C%81%E5%88%97%E8%A1%A8),只要确保已经安装依赖即可。

- `vue`
- `vuex`
- `pinia`
- `vue-i18n`
- `vue-router`
- `@vueuse/core`
- `@vueuse/head`
- `@vueuse/math`

只要确保已经安装依赖即可,具体可见 👉
[vite-auto-import-resolvers](https://github.com/dishait/vite-auto-import-resolvers#%E9%BB%98%E8%AE%A4%E6%94%AF%E6%8C%81%E5%88%97%E8%A1%A8)

当然还有项目中的自动引入,只需要满足以下规范即可。

Expand Down

0 comments on commit 0c9ae91

Please sign in to comment.