From: Eduardo San Martin Morote Date: Wed, 3 Nov 2021 18:25:18 +0000 (+0100) Subject: docs: fix customProperties example X-Git-Tag: @pinia/nuxt@0.1.1~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9598134e2d8d7fa3d6afec7159c1dbd8db73d14d;p=thirdparty%2Fvuejs%2Fpinia.git docs: fix customProperties example Close #761 --- diff --git a/packages/docs/core-concepts/plugins.md b/packages/docs/core-concepts/plugins.md index 91a034ce..e5606a19 100644 --- a/packages/docs/core-concepts/plugins.md +++ b/packages/docs/core-concepts/plugins.md @@ -78,7 +78,8 @@ pinia.use(({ store }) => { store.hello = 'world' // make sure your bundler handle this. webpack and vite should do it by default if (process.env.NODE_ENV === 'development') { - store._customProperties.add('secret') + // add any keys you set on the store + store._customProperties.add('hello') } }) ```