Hi , I would like to know if their is way to show flash message after redirecting to another component in metronic 8 with just vue 3, I want to redirect to another component if there is no error
Hi,
If you do not have an error you can redirect user to different route using code below.
const router = useRouter();
router.push({ name: "your route name" });
Hi Lauris ,
I am aware of the router push , what i was asking is that is their any way to show a flash message after the redirection is completed, like we show session message in laravel ,
Hi,
I'm sorry for the inconvenience.
It sounds like you are trying to show some alert with the message inside it, unfortunately, there is no built-in system for messages showing in our Vue version at the moment. You can find different alert examples in our documentation https://preview.keenthemes.com/html/metronic/docs/base/alerts and then position them using CSS up to your requirements.
Regards,
Lauris Stepanovs,
Keenthemes Support Team