![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
wx_jiaweri
小白
展开
-
hbuilder常用
快捷键 { "key": "ctrl+alt+d", "command": "editor.action.revealInProjectExplorer" } 代码块 "log": { "prefix": "log", "body": [ "this.log('打印内容',$1)" ], "triggerAssist": false, "description": "Log output to console twice" }原创 2022-04-17 10:23:20 · 2334 阅读 · 0 评论 -
vue render
大概的翻译下: render: h => h(App) 是下面内容的缩写: render: function (createElement) { return createElement(App); } 进一步缩写为(ES6 语法): render (createElement) { return createElement(App); } 再进一步缩写为: render (h){ return h(App); } 按照 ES6 箭头函数的写法,就得到了: render原创 2021-07-22 10:13:29 · 40 阅读 · 0 评论 -
yarn安装 类似于npm
npm install -g yarn```原创 2021-05-18 14:08:28 · 87 阅读 · 0 评论 -
vue click传参
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Vue 点击click 传参</title> <script src="https://unpkg.com/vue/dist/vue.js"></script> </head> <body> <div id="app">原创 2021-05-18 11:03:12 · 915 阅读 · 0 评论