组件 坦白地说,学习一门技术或者某个框架,最好的资源是其官方文档,只是咱英文不好,看不懂呀,但也的看看呀。 Waht is Component? Components let you split the UI into independent, reusable pieces, and think ...
分类:
其他好文 时间:
2019-07-03 13:22:06
阅读次数:
100
gpedit.msc Computer Configuration - Administrative Templates - Windows Components - Remote Desktop Services - Remote Desktop Session Host - Connection ...
its time to do cmake right Enough preambles. Does this look familiar to you? find_package(Boost 1.55 COMPONENTS asio) list(APPEND INCLUDE_DIRS ${BOOST... ...
分类:
其他好文 时间:
2019-07-01 22:52:09
阅读次数:
135
创建并使用自定义标签 Web Components 标准非常重要的一个特性是,它使开发者能够将HTML页面的功能封装为 custom elements(自定义标签),本篇介绍使用 CustomElementRegistry 来管理我们的自定义标签 1. 创建自定义标签 <script> class ...
分类:
Web程序 时间:
2019-07-01 18:30:11
阅读次数:
269
slot 是vue的内置组件,主要分为传值和接收值两部分; 首先写一个自定义组件:例如 <js></js> 再写一个template模板 并在构造器中使用components:{} 挂载, 在构造器的data中写一个选项方法: data: { jsData: { url: 'http://www.b ...
分类:
其他好文 时间:
2019-06-29 13:13:39
阅读次数:
145
css, styled-components 升级, 被废 API createGlobalStyle, 代替 API createGlobalStyle ...
分类:
Web程序 时间:
2019-06-29 01:18:40
阅读次数:
350
1. 编写loading组件(components/Loading/index.vue) 2.注册为全局组件 (components/Loading/index.js) 3.定义组件库(components/index.js) 4.开启全局使用此组件 (main.js) 5. 使用组件 1. 使用组 ...
分类:
其他好文 时间:
2019-06-28 18:01:13
阅读次数:
91
Vue路由 功能就是在不重新请求页面的情况下,更新页面视图; 一、安装: 1)cnpm install vue-router -s 2)依赖:cnpm install 二、设计路由界面: 创建components文件夹,文件夹内分别创建user、Home组件 三、创建静态路由表: 在src下创建ro ...
分类:
其他好文 时间:
2019-06-28 00:19:58
阅读次数:
120
一、 目录结构截图 二、 目录结构说明 - documents 存放项目相关的文档文件 - api api 数据接口目录 - assets 资源文件目录 - components 组件存放目 - mixins vue 混入代码目录 - mock mockjs 数据接口目录 - router 路由 - ...
分类:
其他好文 时间:
2019-06-15 13:30:26
阅读次数:
74
简单的整理: 官网向导:https://poi.apache.org/components/spreadsheet/quick-guide.html#FillsAndFrills 官网API:http://poi.apache.org/apidocs/dev/org/apache/poi/xssf/ ...
分类:
其他好文 时间:
2019-06-13 01:01:07
阅读次数:
201