Vue.prototype.$ 意为绑定一个全局变量

Vue.use(XXX)  意为引入XXX, 例如Vue.use(VueRouter),

1. 但是用 axios时,就不需要用 Vue.use(axios)?因为 axios 没有 install

 2. Vue.prototype.$ 和 Vue.use() 有啥关系吗?没有

相关文章:

  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-05
  • 2023-04-06
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
相关资源
相似解决方案