摘要:
整合Bootstrap和font-awesome 阅读全文
摘要:
首先,准备一个 8GB 或更大容量的 U盘,并备份好里面的所有资料。 通过AppStore下载好macOS High Sierra安装程序 打开 “应用程序 → 实用工具 → 磁盘工具”,将U盘「抹掉」(格式化) 成「Mac OS X 扩展(日志式)」格式、GUID 分区图,并将U盘命名为「Sier 阅读全文
摘要:
在调用的TS文件中导入import { Component, ViewChild, ElementRef } from ‘@angular/core’; 定义子视图@ViewChild(‘input’) input; 前台页面添加子视图文本框 <ion-input #input [(ngModel) 阅读全文
摘要:
1. 新建空的ionic项目 命令:ionic start hotupdatetest blank 2. 进入项目文件夹 命令 : cd ./hotupdatetest 3. 全局安装热更新插件cordova-hot-code-push-cli,如果已经安装了则跳过此步 命令:npm install 阅读全文
摘要:
谷歌新版com.android.support:support-v4新增两个特性:fontVariationSettings和ttcIndex打包Android时发生的错误解决方法如下: 阅读全文
摘要:
快速开始 1.搭建AngularJS5运行环境,安装angularCLI npm install -g @angular/cli 2.创建新项目 ng new xxx项目名(如:ng new my-app) 3.启动项目 ng serve --open 4.添加新组件 ng generate com 阅读全文
摘要:
错误: import { Observable , of } from ‘rxjs/Observable’; 时找不到of;或 import { Observable } from ‘rxjs/Observable’; 后调用Observable.of(…)时找不到of, IDE报错typeof O 阅读全文
摘要:
错误: Can’t bind to ‘ngModel’ since it isn’t a known property of ‘input’ 原因: html代码中出现类似这样的<input type=“text” [(ngModel)]=“username”>语句,其中使用了[(ngModel)] 阅读全文