Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue 3 support (without changed /dist) #207

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

morr
Copy link

@morr morr commented Jul 13, 2021

No description provided.

Comment on lines +11 to +12
app.component('toasted', ToastComponent);
app.config.globalProperties.$toasted = Toast;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is app coming from? I doubt that it is a global variable.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L5: fix argument Vue -> app

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@morr You need to rename Vue to app on the install function or revert to the previous name.

Suggested change
app.component('toasted', ToastComponent);
app.config.globalProperties.$toasted = Toast;
Vue.component('toasted', ToastComponent);
Vue.config.globalProperties.$toasted = Toast;

@Ivan-Crudo
Copy link

Why is this not merged yet?

@ankurk91
Copy link

ankurk91 commented May 10, 2023

I wish if this could be merged

Meanwhile check this
https://github.com/hoppscotch/vue-toasted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants