How to do modal Windows?

Hi, guys! Help advice on how best to do it. Use nuxt.js in conjunction with elementUI. I have products and an add button. There is a modal window, when you click add product to the cart, you need to show this modal window. How best to implement the conclusion of this window?

For example, if you insert this window at the component of the goods, in the derivation of the many products will the same number of modal Windows. As they are best to bring? While the idea 1. Insert the window in the layout and through the side to show when it was added to the product.

Minus only 1, though not strongly straining. This window is always on the page even if we are not in the catalog. Or, for example, using the component tag to render the window, a prior inserting this tag in the layout. But modal Windows for various types I have can be many and clog layout these tags I think it is not the best idea
June 10th 19 at 16:06
1 answer
June 10th 19 at 16:08
For a modal window using Fancybox
About the answer! - yoshiko_Corwin15 commented on June 10th 19 at 16:11
Shame!!! - elliott.Cartwrig commented on June 10th 19 at 16:14
I pointed out what I use, and what use You - You decide. - Chanelle.Wisoz commented on June 10th 19 at 16:17
and why would I? I'm not asking who's using what. The question is all about the other. - yoshiko_Corwin15 commented on June 10th 19 at 16:20

Find more questions by tags Vue.js