vue 局部和全局
摘要:vue 局部和全局: <!-- 组件: 为什么?(1)让页面的代码看起来更加的简洁 (2)进行复用 在vue中组件分为两种(定义)? 局部组件? 使用的步骤 (1)创建组件(components) (2)引入组件 (3)注册 (4)使用 全局组件? 为什么?3次以上在项目中使用=》注册成全局组件 使
阅读全文
posted @ 2022-05-20 20:07
posted @ 2022-05-20 20:07
posted @ 2022-05-15 11:26
posted @ 2022-05-06 21:11
posted @ 2022-05-06 19:39
posted @ 2022-05-05 23:43