Skip to content

Commit 0c9ae91

Browse files
committed
docs: 更新库 api 引入列表
1 parent 30d0e53 commit 0c9ae91

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,18 @@ const doubled = computed(() => count.value * 2);
413413
而且上边的 `api` 是按需自动引入的。
414414

415415
目前模板支持自动引入 `api` 的库列表 👉
416-
[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),只要确保已经安装依赖即可。
416+
417+
- `vue`
418+
- `vuex`
419+
- `pinia`
420+
- `vue-i18n`
421+
- `vue-router`
422+
- `@vueuse/core`
423+
- `@vueuse/head`
424+
- `@vueuse/math`
425+
426+
只要确保已经安装依赖即可,具体可见 👉
427+
[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)
417428

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

0 commit comments

Comments
 (0)