How can client side code get notified when a new page is added or page is edited? #661
-
I am making a blog plugin. And I would like to add a listener where a new page is created. Since we already support
The above is working pretty fine. But since there isn't a reactive
I am wondering if there is a solution here to make the above changes support HMR and get updates in devServer. Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Try triggering the HMR manually? 🤔 As I remember, vue-router allows to adding routes dynamically. Not sure about deleting routes... |
Beta Was this translation helpful? Give feedback.
Try triggering the HMR manually? 🤔 As I remember, vue-router allows to adding routes dynamically. Not sure about deleting routes...