To introduce the use of vue.js CDN (non-vue-cli), can you use these guard functions of beforeRouteLeave?

I want to modify the page of the previous project, but it is not developed in vue-cli. Can I use the guardian functions of beforeRouteLeave if I directly introduce the cdn of vue now?

Apr.07,2021

but that's what vue-router says. Cdn can be used, the same.

Menu