- 博客(3)
- 收藏
- 关注
原创 angular material 框架使用步骤(以及分页栏自定义)
我喜欢直接给代码或者截图说明,所有的口头上说的都是垃圾,解决不了问题注:先吐槽一下angular material这个垃圾官网,真的是坑,如果你按照他的方法那就等着吃屎吧开始:1.在控制台端口输入:npm install --save @angular/material @angular/cdk2.在你的package.json文件里把上一步下载的版本更改为(只能使用这两个
2018-01-24 15:19:32
12812
1
原创 angular2项目下载后运行以及报错,The "@angular/compiler-cli" package was not properly installed
我喜欢直接给代码或者截图说明,所有的口头上说的都是垃圾,解决不了问题完整报错:The "@angular/compiler-cli" package was not properly installed. Error: Error: Cannot find module '@angular/compiler-cli'先说运行方法,当你在其他地方下载了项目源码后,直接运行
2017-08-16 10:24:46
3556
原创 div垂直居中,图片垂直居中
div居中分为两种,一种是有固定宽高,一种是没有固定宽高1.固定宽高.test {position: absolute;left: 50%;top: 50%;width: 100px;height: 100px;margin-left: -100px;margin-top: -50px;background-color: #00000
2017-08-14 16:29:24
486
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人