1、在main.js入口文件中,使用Vue.component()方法注册组件
2、在需要使用组件的地方进行标签使用即可
<MyCount></MyCount>
标签:vue,component,注册,使用,组件,全局 From: https://www.cnblogs.com/fruitesBlogs/p/17861525.html
1、在main.js入口文件中,使用Vue.component()方法注册组件
2、在需要使用组件的地方进行标签使用即可
<MyCount></MyCount>
标签:vue,component,注册,使用,组件,全局 From: https://www.cnblogs.com/fruitesBlogs/p/17861525.html