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

ToastServiceMethods cannot be imported #1828

Closed
TechWatching opened this issue Nov 24, 2021 · 1 comment
Closed

ToastServiceMethods cannot be imported #1828

TechWatching opened this issue Nov 24, 2021 · 1 comment

Comments

@TechWatching
Copy link

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primevue/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=110

Current behavior
We can't use the ToastServiceMethods class.
Error : Module '"../../../node_modules/primevue/toastservice/ToastService"' has no exported member 'ToastServiceMethods'.

Expected behavior

No error when doing a vue-cli-service serve

Minimal reproduction of the problem with instructions
Just do import {ToastServiceMethods} from "primevue/toastservice";. Was working in 3.5.1.

Please tell us about your environment:
Windows, VS Code

  • Vue version: 3.2.2

  • PrimeVue version: 3.9.1

@TechWatching
Copy link
Author

I am closing the issue. ToastServiceMethods is not necessary anymore. We can get toastservice by using useToast #535

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

No branches or pull requests

1 participant