1组件命名驼峰
如myBread.vue(组件)

2引入时,接受同样是驼峰
import MyBread from "@/components/cuscom/myBread.vue";
Vue.component(MyBread.name, MyBread); //注册组件

3在使用时,横线

 <my-bread value1="权限管理" value2="权限列表"></my-bread>

相关文章:

  • 2021-12-16
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
  • 2022-02-22
  • 2022-01-09
猜你喜欢
  • 2022-12-23
  • 2022-02-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2022-03-10
相关资源
相似解决方案