当你建立一个网站时,很可能你正在使用一个css框架,比如Bootstrap,materialecss,Foundation等等。。。但您只会使用框架的一小部分,并且会包含许多未使用的css样式。
这就是PurgeCSS发挥作用的地方。PurgeCSS分析你的内容和css文件。然后...
4年前 (2021-08-29)
喜欢
Dart Sass和Libsass都是用来将sass编译成css的工具。
libsass
libsass 是用 node(调用 cpp 编写的 libsass)来编译 sass;
自动编译实时的
dart-sass
dart-sass 是用 drat VM 来编译 sass
需要...
4年前 (2021-08-29)
喜欢
普通的html在开发时,时常需要手动刷新页面查看效果,使用codekit只需要修改代码就查看效果了,无需手动刷新
添加项目
查看项目
每次修改当前页面都会实时刷新
...
4年前 (2021-08-29)
喜欢
codekit是mac端下的付费工具
官方地址
页面实时刷新
普通的html项目修改后实时刷新页面
codekit实时更新预览页面
Scss编译
普通的页面也可以直接使用scss来写啦,使用codeKit编译scss
js压缩
引用npm包
...
4年前 (2021-08-29)
喜欢
Scss的注释在压缩编译后注释信息会被删除
那么如何保留注释信息呢?
在注释信息中添加叹号
/*!
注释信息
*/
编译前
编译后
...
4年前 (2021-08-29)
喜欢
drawLine () {
window.addEventListener('resize', this.drawLine)
let myChart = this.$echarts.init(this.$refs.echarts)...
4年前 (2021-08-29)
喜欢
drawLine () {
var that = this
window.addEventListener('resize', this.drawLine)
let myChart = this.$echarts.init(t...
4年前 (2021-08-29)
喜欢
drawLine () {
var that = this
window.addEventListener('resize', this.drawLine)
let myChart = this.$echarts.init(t...
4年前 (2021-08-29)
喜欢
drawLine () {
var that = this
window.addEventListener('resize', this.drawLine)
let myChart = this.$echarts.init(t...
4年前 (2021-08-29)
喜欢
drawLine () {
window.addEventListener('resize', this.drawLine)
let myChart = this.$echarts.init(this.$refs.echarts)
...
4年前 (2021-08-29)
喜欢