vue的插件,组件都可以按照这种方式添加 官方文档 https://cn.vuejs.org/v2/guide/plugins.html 做个记录用 转载于:https://www.cnblogs.com/herewego/p/9309399.html