大前端
文章平均质量分 63
seek-x2y
这个作者很懒,什么都没留下…
展开
-
Vue Cli 配置多入口后, plugin 异常问题处理
使用 vue-admin-template 配置多入口后,执行 vue inspect 出现报错: Error: Cannot call .tap() on a plugin that has not yet been defined. Call plugin(‘preload’).use() first. 是因为如下代码报错: // it can improve the speed of the first screen, it is recommended to turn on preloa原创 2021-08-01 13:24:04 · 9491 阅读 · 6 评论 -
eslint 批量修复文件问题
今天使用 AntDesignPro , git 提交报错 npm found some errors. Please fix them and try committing again. 经查发现是 ant 使用了 husky 和 prettier 保证代码格式一致性,代码中有问题。 一个个问题修复了之后,还是有个 windows 与 linux 的回车换行不一致的问题,由于量比较大,一个个修...原创 2020-04-01 18:30:37 · 1732 阅读 · 0 评论 -
Flutter 找到对应组件的心路历程反思
一直专注于后端开发,之前虽然也对前端稍有涉猎,毕竟才疏学浅,至今依然学之皮毛。据说移动端早已趋向饱和,末日黄花之论甚嚣尘上,以前 Android IOS 双头并进,虽心痒难耐,终是分身乏术,未敢入坑。幸得 Flutter 横空出世,天下一统,赶紧入坑。果然,此坑不浅,光是各类 widget 多如牛毛,更不要谈其繁杂的属性集了。 近来自己做个小玩意儿,一个登录界面,最终效果如图: 登录按钮下的两三...原创 2019-12-24 10:29:03 · 377 阅读 · 1 评论