上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 95 下一页
摘要: 官方文档: http://www.dcloud.io/wap2app.html 新建Wap2App,示例网址:www.baidu.com 随后,我们可以在 最后,我们可以 打包完成以后,下载即可 阅读全文
posted @ 2018-07-26 12:38 Sunsin 阅读(551) 评论(0) 推荐(0) 编辑
摘要: 1.导入form组件 2.导出form组件 3.使用form组件 阅读全文
posted @ 2018-07-26 10:49 Sunsin 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 实现原理:利用背景图片以及nth-child实现 阅读全文
posted @ 2018-07-26 10:37 Sunsin 阅读(1424) 评论(2) 推荐(0) 编辑
摘要: nginx下载地址,使用的是标准版的: 点击下载nginx nginx下载完后,解压 dist文件夹下面所有angular文件放入html文件夹中. 最后命令行cd到当前nginx.exe目录,启动命令:nginx 再配置一下conf文件夹下面的nginx.conf 再location / 添加一条 阅读全文
posted @ 2018-07-26 10:25 Sunsin 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 更新时间: (2018-7-26) - 使用angular6.x最新版本 新建项目时,我们指定类型: less的话,也是是改一下后缀名而已 在实际项目中应用的话,大概就是(从angular5.x~6.x),angular-cli.json更名为angular,json 已有项目中运行的话,在angu 阅读全文
posted @ 2018-07-26 10:19 Sunsin 阅读(3900) 评论(0) 推荐(0) 编辑
摘要: foreach ... 阅读全文
posted @ 2018-07-21 17:43 Sunsin 阅读(1459) 评论(0) 推荐(0) 编辑
摘要: es6新的字符串,操作... 具体,请查看es6 api. 阅读全文
posted @ 2018-07-21 17:10 Sunsin 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 注意:es6模板的内容框选是``键盘左上角的重音符 ,而es5是双引号或单引号. 阅读全文
posted @ 2018-07-21 13:25 Sunsin 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 1 class User { 2 constructor(name, age) { 3 this.name = name; 4 this.age = age; 5 } 6 7 changeName(name) { 8 this.name = name; 9 } 10 11 changeA... 阅读全文
posted @ 2018-07-21 13:12 Sunsin 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 今天用node纠结了半天,明明是正确的语法,一直报错,原来node和chrome并不支持es6语法.... 1. npm install package.json 1 { 2 "name": "ES6", 3 "version": "1.0.0", 4 "description": "", 5 "m 阅读全文
posted @ 2018-07-21 10:53 Sunsin 阅读(2344) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 95 下一页