]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: update PiniaVuePlugin usage [skip ci] (#628)
authorEduardo San Martin Morote <posva@users.noreply.github.com>
Wed, 29 Sep 2021 12:28:57 +0000 (14:28 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Sep 2021 12:28:57 +0000 (14:28 +0200)
packages/docs/getting-started.md

index 2d455d2b65dac9304a1be24720c68b0fd85f0c52..dbad395bc01c38e1d0bd75dddfb3b57fa2cae359 100644 (file)
@@ -25,9 +25,9 @@ app.use(createPinia())
 If you are using Vue 2, you also need to install a plugin and inject the created `pinia` at the root of the app:
 
 ```js
-import { createPinia, PiniaPlugin } from 'pinia'
+import { createPinia, PiniaVuePlugin } from 'pinia'
 
-Vue.use(PiniaPlugin)
+Vue.use(PiniaVuePlugin)
 const pinia = createPinia()
 
 new Vue({