primevue icon indicating copy to clipboard operation
primevue copied to clipboard

Toast: can't auto-import it

Open cadilhac opened this issue 8 months ago • 2 comments

Describe the bug

I have a Toast tag in the higher level template vue file. If I add this in the file:

import Toast from 'primevue/toast'

Then toasting works well.

But if I remove it, it doesn't. However, I have auto-import configured in main.js and it works well for the other components I'm using.

Reproducer

not available

PrimeVue version

3.52.0

Vue version

3.x

Language

ALL

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

Primevue should also auto-import the Toast component.

cadilhac avatar Jun 19 '24 14:06 cadilhac