From: Eduardo San Martin Morote Date: Tue, 24 Aug 2021 07:51:58 +0000 (+0200) Subject: docs: add vue cli plugin link X-Git-Tag: @pinia/nuxt@0.0.2~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=89ad38485313f2289db0c40655df842744c76342;p=thirdparty%2Fvuejs%2Fpinia.git docs: add vue cli plugin link Close #42 --- diff --git a/packages/docs/getting-started.md b/packages/docs/getting-started.md index bc08b579..2d455d2b 100644 --- a/packages/docs/getting-started.md +++ b/packages/docs/getting-started.md @@ -12,6 +12,8 @@ npm install pinia@next `pinia@next` install Pinia v2 for Vue 3. If your app is using Vue 2, you need to install Pinia v1: `pinia@latest` **and** `@vue/composition-api`. If you are using Nuxt, you should follow [these instructions](/ssr/nuxt). ::: +If you are using the Vue CLI, you can instead give this [**unofficial plugin**](https://github.com/wobsoriano/vue-cli-plugin-pinia) a try. + Create a pinia (the root store) and pass it to the app: ```js