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