06 2019 档案
摘要:1. typescript 含义 TypeScript是一种由微软开发的自由和开源的编程语言。它是JavaScript的一个超集... 就是 js 的扩展,融入了大量 es6 的语法,文件后缀为 .ts ,可通过安装 typescript (npm install -g typescript ) ,
阅读全文
摘要:最小化http请求 : 合并文件 css spirate 使用CDN 内容分发网络 ( CDN全称Content Delivery Network,即内容分发网络,) 其基本思路是尽可能避开互联网上有可能影响数据传输速度和稳定性的瓶颈和环节,使内容传输的更快、更稳定。通过在网络各处放置节点服务器所构
阅读全文
摘要:*{touch-action: none;//清除系统默认的手势事件} 弹性布局 常用代码 display: flex; flex-direction: column; justify-content: center; flex: 1; flex-direction: column; align-i
阅读全文
摘要:1. node 安装版本 9+ 2. 命令行 创建方式 vue create project 3. 可视化 创建方式 vue ui 4. 扩展 goole 下 vue 调试工具安装 git 资源 https://github.com/vuejs/vue-devtools.git 步骤: 下载资源 -
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <button onclick="fullScreen()">�ִ������ȫ��</button> <button onclic
阅读全文
摘要:1. 组件化 (父子组件通信: 父 - 子 :props 数组 子 - 父 : 子层触发事件,调用 $emit 触发父层对应自定义事件,可函数处理传参 / $event 获取) html <!DOCTYPE html> <html lang="en"> <head> <meta charset="U
阅读全文