register plugin ,i want to use pinia in plugin, but no effect #13145
Unanswered
qq88310566
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
const app = createApp(App); setupRouter(app); setupStore(app); setupPlugin(app) app.use(fddui).mount('#app');
plugin content
`
install(app) {
app.provide('statistics', {
trackEvent() {
const businessListStore = useBusinessListStore();
}
})
}
`
but businessListStore get nothing infomation
Beta Was this translation helpful? Give feedback.
All reactions