Skip to content

3.0.0-beta.2

Latest
Compare
Choose a tag to compare
@distolma distolma released this 28 Oct 16:48
· 4 commits to master since this release

Breaking Changes

Installation process has changed

To install StoreonVue to Vue app instance, pass the store instance to createStoreonPlugin function.

import { createApp } from 'vue'
import { createStoreonPlugin } from '@storeon/vue'
import App from './App.vue'
import { store } from './store'

const app = createApp(App)

app.use(createStoreonPlugin(store))

app.mount('#app')