Working on Modals... So hard..
I'm building a modal in Nuxt.\ The idea is to open it as a modal when adding or editing, so you can view and edit the data. For the main login authentication mo
I'm building a modal in Nuxt.
The idea is to open it as a modal when adding or editing, so you can view and edit the data.
For the main login authentication modal, I used $refs.
But apparently, Vue doesn't recommend doing that...
So... after a lot of trial and error... I made a Modal component...
It took a day. .
I pass the data in through a Slot, and when a button is clicked inside, it calls an event on the parent component again.
For normal modal usage, I'll keep reusing this component...
Wow... seriously... I thought I was almost done...
I can't get vee-validate working in the modal..
Is it because I put it in through a Slot? What on earth could be the cause..
My head hurts so much. Whew..... I'm stressed out...
This just isn't getting solved at all..