From c747a0ca6bd853679ff022d71baaf7f5c2332768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E6=9D=89?= Date: Mon, 5 Sep 2022 18:35:12 +0800 Subject: [PATCH] docs: update pinia links (#415) --- README.md | 2 +- README.zh-CN.md | 4 ++-- src/modules/pinia.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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)