laravel How to use pop-up plug-ins elegantly
Recently I am working on a backend management system. Many places want to use pop-up plug-ins similar to artDialog, but I don’t know how to cooperate with the backend to complete it?
When I used the TP framework in the past, I could output the success('message') method in the controller, and the view file could bring up a pop-up window. However, I don't know how to use it in laravel. Please give me some guidance. If you are too lazy to post the code, you can also tell me your ideas
You can try this
Sweet-Alert
uses
SweetAlert
這個彈窗的JS庫,配合Session
to implement functions.