Hello!
It looks like you have read my Medium article where we discussed a couple of approaches to create modular reusable modals with Vue. That's great! You can find source code for both of the approaches at the corresponding branches:
- 1-custom-events-approach
- 2-plugin-approach
You could also check this sandbox out.
If you're here for another reason, I recommend you to give this article a look. I would appreciate any feedback!
npm install
npm run serve
npm run build
npm run lint