From 0014cf7551a6fe38fe745b1d8f9517b045e6d2fb Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Wed, 29 Sep 2021 14:28:57 +0200 Subject: [PATCH] docs: update PiniaVuePlugin usage [skip ci] (#628) --- packages/docs/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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({ -- 2.47.3