- 博客(8)
- 资源 (81)
- 收藏
- 关注
原创 项目:build-drawing-pc详情页
一:实现响应不同分辨率的页面2. Bug右侧出现一大片空白间隙.banner max-width 1200px//设置最大宽度,就不会出现右边很多空白
2019-08-27 11:39:56 188
原创 Eslint:一个团队trim的规范
参考了这两篇文章https://segmentfault.com/a/1190000016450967https://www.jianshu.com/p/ea07cc2cf66bvscode安装插件eslint并配置settings.json (ctrl+shift+p 输入settings,在对象{ }第一级下提添加)"eslint.nodePath": "/usr/local/b...
2019-08-25 09:04:59 117
原创 CLI报错:error More than 1 blank line not allowed
eslint语法报错写个插件的文件(.prettierrc)解决 (需要安装插件)还有一种直接修改vscode代码的方式 //后续我上传settings.json的代码上来
2019-08-21 19:49:04 740
原创 wepy:版本冲突问题和双向数据绑定
1.先关闭小程序的es6转es5,否则报错2. 脚手架版本wepy-cli@1.7.33.项目代码4.结果
2019-08-20 22:22:54 636 1
原创 webpack:打包示例-打包多入口
入口entry: { // 前台 index: './public/assets/js/index', //打包入口项 list: './public/assets/js/list', search: './public/assets/js/search', detail: './public/assets/js/detail', jquer...
2019-08-17 00:08:07 1731 1
原创 Vue:无限滚动-通过vant组件
在vant中通过list组件,实现评论列表的无限滚动按需引入组件 //可以看 vant官网方法一: src目录下新建 .babelrc 文件,内容如下{ "plugins": [ ["import", { "libraryName": "vant", "libraryDirectory": "es", "style": true......
2019-08-09 12:24:58 11820
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人