上一页 1 2 3 4 5 6 7 8 9 10 ··· 58 下一页
摘要: 1: 引入了三个库: react.min.js 、react-dom.min.js 和 babel.min.js: react.min.js - React 的核心库 react-dom.min.js - 提供与 DOM 相关的功能 babel.min.js - Babel 可以将 ES6 代码转为 阅读全文
posted @ 2021-02-26 13:35 刘大飞 阅读(63) 评论(0) 推荐(0) 编辑
摘要: Ctrl + p: 查找文件 阅读全文
posted @ 2021-01-14 17:20 刘大飞 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 公钥已经加到git上,可是本地依然报错: ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote repository. Please make sure you 阅读全文
posted @ 2021-01-04 15:39 刘大飞 阅读(1553) 评论(0) 推荐(0) 编辑
摘要: Form 表单: 由输入框、选择器、单选框、多选框等控件组成,用以收集、校验、提交数据。 <el-form :model="loginForm" :rules="rules" ref="loginForm"> <el-form-item prop="username"> <el-input v-mo 阅读全文
posted @ 2020-12-31 10:47 刘大飞 阅读(1181) 评论(0) 推荐(0) 编辑
摘要: section 阅读全文
posted @ 2020-12-31 10:34 刘大飞 阅读(5539) 评论(1) 推荐(0) 编辑
摘要: Vue2.0中,<transition> 元素作为单个元素/组件的过渡效果。<transition> 只会把过渡效果应用到其包裹的内容上,而不会额外渲染 DOM 元素,也不会出现在可被检查的组件层级中。 具体的使用还是查看Vue的官网吧,中文的 很详细: https://cn.vuejs.org/v 阅读全文
posted @ 2020-12-31 09:53 刘大飞 阅读(295) 评论(0) 推荐(0) 编辑
摘要: vue-router的使用方式: 1:下载 npm i vue-router -S 2:在main.js(或router/index.js)中引入 import VueRouter from 'vue-router'; 3:安装插件Vue.use(VueRouter); 4:创建路由对象并配置路由规 阅读全文
posted @ 2020-12-30 17:27 刘大飞 阅读(103) 评论(0) 推荐(0) 编辑
摘要: index.html 主页,项目入口 App.vue 根组件 main.js 入口文件 在网页的Title部分,加载了index.html中定义的Title,而在正文部分,加载了App.vue中定义的部分. 在浏览器打开的瞬间,浏览器中正文部分会瞬间显示index.html中定义的正文部分. 那么, 阅读全文
posted @ 2020-12-30 15:30 刘大飞 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1: chrome-> 右键-> 属性,加上 --remote-debugging-port=9222 2: VS code 安装”Debugger for Chrome“ 3: 左侧 调试, Attach to chrome, 在launch,json中输入如下配置: 注意标注红色的是你项目的实际 阅读全文
posted @ 2020-12-26 20:52 刘大飞 阅读(151) 评论(0) 推荐(0) 编辑
摘要: js中定时器有两种,一个是循环执行setInterval,另一个是定时执行setTimeout. 一、循环执行(setInterval) 设置一个时间间隔,每过一段时间都会执行一次这个方法,直到这个定时器被销毁掉 用法是setInterval(“方法名或方法”,“延时”), 第一个参数为方法名或者方 阅读全文
posted @ 2020-12-22 09:40 刘大飞 阅读(229) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 58 下一页