随笔分类 - vue-基础day03
摘要:``` <!DOCTYPE html Document new Vue({ el: ' app', data: { }, // 选项 // 1. 定义 // 2. 组件选项(template/data/methods等(除了el)) // 3. 使用 自定义标签名 components: { //
阅读全文
摘要:``` Document 首页 用户管理 权限管理 商品管理 ```  // 注意: 组件名命名, abc childA child a // 2. 写选项 // 注意: template 一个根元素 + data的值必须return{}
阅读全文
摘要:``` <!DOCTYPE html Document // 封装 组件 // Vue.filter(); // Vue.directive(); // newVue Vue.component('span d', { template: ` <div <span {{count}}</span <
阅读全文
摘要:``` Document {{msg}} ```
阅读全文
摘要:1.把下面的数据放在 db.json文件里面 2.在db.json 同目录下 打开cmd,在命令窗口输入 json server watch db.json 开启服务器 以下是db.json
阅读全文
摘要:``` Document methods中的方法 {{fn1()}} {{fn1()}} {{fn1()}} computed中的方法 {{fn2}} {{fn2}} {{fn2}} ...
阅读全文
摘要:``` Document {{b}} {{d}} ``` 
阅读全文

浙公网安备 33010602011771号