浅谈vue.use的使用

​ 1.将插件业务逻辑写在install函数中,将包裹着install的对象暴露给vue

​ 2.直接将插件写成函数类型暴露给vue

详解见https://blog.csdn.net/ZYS10000/article/details/107246076/

posted @ 2022-03-31 19:01  Kira的学习笔记  阅读(44)  评论(0)    收藏  举报