When a p-button component is used in a project that also uses Vue router, clicking the button will cause the router to try to navigate, even if no to parameter is specified.
If the button is clicked without the to or href parameters specified, it should only emit the click event.
When a
p-button
component is used in a project that also uses Vue router, clicking the button will cause the router to try to navigate, even if noto
parameter is specified.If the button is clicked without the
to
orhref
parameters specified, it should only emit the click event.