From: Eduardo San Martin Morote Date: Wed, 29 Sep 2021 12:28:57 +0000 (+0200) Subject: docs: update PiniaVuePlugin usage [skip ci] (#628) X-Git-Tag: pinia@2.0.0-rc.10~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0014cf7551a6fe38fe745b1d8f9517b045e6d2fb;p=thirdparty%2Fvuejs%2Fpinia.git docs: update PiniaVuePlugin usage [skip ci] (#628) --- diff --git a/packages/docs/getting-started.md b/packages/docs/getting-started.md index 2d455d2b..dbad395b 100644 --- a/packages/docs/getting-started.md +++ b/packages/docs/getting-started.md @@ -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({