export { acceptHMRUpdate } from './hmr'
-export { PiniaPlugin } from './vue2-plugin'
+export {
+ // TODO: remove in release and deprecate PiniaStorePlugin in favor of PiniaPlugin
+ PiniaPlugin,
+ PiniaVuePlugin,
+} from './vue2-plugin'
*
* @param _Vue
*/
-export const PiniaPlugin: Plugin = function (_Vue) {
+export const PiniaVuePlugin: Plugin = function (_Vue) {
// Equivalent of
// app.config.globalProperties.$pinia = pinia
_Vue.mixin({
},
})
}
+
+/**
+ * @deprecated use PiniaVuePlugin
+ */
+export const PiniaPlugin = PiniaVuePlugin