diff --git a/README.md b/README.md index 22a55bd..ad7cf66 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ Mocking up web app with Vitesse(speed)
- [Vue Router](https://github.com/vuejs/router) - [`vite-plugin-pages`](https://github.com/hannoeru/vite-plugin-pages) - file system based routing - [`vite-plugin-vue-layouts`](https://github.com/JohnCampionJr/vite-plugin-vue-layouts) - layouts for pages -- [Pinia](https://pinia.esm.dev) - Intuitive, type safe, light and flexible Store for Vue using the composition api +- [Pinia](https://pinia.vuejs.org) - Intuitive, type safe, light and flexible Store for Vue using the composition api - [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - components auto import - [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - Directly use Vue Composition API and others without importing - [`vite-plugin-pwa`](https://github.com/antfu/vite-plugin-pwa) - PWA diff --git a/README.zh-CN.md b/README.zh-CN.md index c62c1e6..702506d 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -29,7 +29,7 @@ - 📦 [组件自动化加载](./src/components) -- 🍍 [使用 Pinia 的状态管理](https://pinia.esm.dev/) +- 🍍 [使用 Pinia 的状态管理](https://pinia.vuejs.org) - 📑 [布局系统](./src/layouts) @@ -77,7 +77,7 @@ - [Vue Router](https://github.com/vuejs/router) - [`vite-plugin-pages`](https://github.com/hannoeru/vite-plugin-pages) - 以文件系统为基础的路由 - [`vite-plugin-vue-layouts`](https://github.com/JohnCampionJr/vite-plugin-vue-layouts) - 页面布局系统 -- [Pinia](https://pinia.esm.dev) - 直接的, 类型安全的, 使用 Composition api 的轻便灵活的 Vue 状态管理 +- [Pinia](https://pinia.vuejs.org) - 直接的, 类型安全的, 使用 Composition api 的轻便灵活的 Vue 状态管理 - [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - 自动加载组件 - [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - 直接使用 Composition API 等,无需导入 - [`vite-plugin-pwa`](https://github.com/antfu/vite-plugin-pwa) - PWA diff --git a/src/modules/pinia.ts b/src/modules/pinia.ts index 7b6eb1d..b27907a 100644 --- a/src/modules/pinia.ts +++ b/src/modules/pinia.ts @@ -2,7 +2,7 @@ import { createPinia } from 'pinia' import { type UserModule } from '~/types' // Setup Pinia -// https://pinia.esm.dev/ +// https://pinia.vuejs.org/ export const install: UserModule = ({ isClient, initialState, app }) => { const pinia = createPinia() app.use(pinia)