]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
doc: composition-api is only required for Vue <= 2.6.x (#1535)
authorgreenbourne277 <82470038+greenbourne277@users.noreply.github.com>
Wed, 10 Aug 2022 09:51:12 +0000 (11:51 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Aug 2022 09:51:12 +0000 (11:51 +0200)
packages/docs/getting-started.md

index 196ba90fde96c8b1eb4ee65529bbe1e1eac9e6df..ace7e155770d09efd30ee5f9fd2596a4feb83b89 100644 (file)
@@ -9,7 +9,7 @@ npm install pinia
 ```
 
 :::tip
-If your app is using Vue 2, you also need to install the composition api: `@vue/composition-api`. If you are using Nuxt, you should follow [these instructions](/ssr/nuxt.md).
+If your app is using Vue <= 2.6.x, you also need to install the composition api: `@vue/composition-api`. If you are using Nuxt, you should follow [these instructions](/ssr/nuxt.md).
 :::
 
 If you are using the Vue CLI, you can instead give this [**unofficial plugin**](https://github.com/wobsoriano/vue-cli-plugin-pinia) a try.