vue eslint报错合集

vue eslint 报错“also define the standard property ‘appearance‘for compatibility”

“为了兼容性,还要定义标准属性‘外观’ ”

加上“appearance: none;”就不报错了

inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'css(propertyIgnoredDueToDisplay)

如果浮动的值不是none,则inline-block会被忽略,最终这个盒子会是浮动的,显示为block样式。


display:inline-block的布局方式和浮动的布局方式,究竟使用哪个,我觉得应该根据实际情况来决定的:
  a.对于横向排列东西来说,我更倾向与使用inline-block来布局,因为这样清晰,也不用再像浮动那样清除浮动,害怕布局混乱等等。
  b.对于浮动布局就用于需要文字环绕的时候,毕竟这才是浮动真正的用武之地,水平排列的是就交给inline-block了。

Warning: Accessing non-existent property 'cat' of module exports inside circular dependency

解决方案是将package.json中'shelljs'的版本改为0.8.4,然后重新安装依赖并运行

TypeError: compilation.mainTemplate.applyPluginsWaterfall is not a function

npm install html-webpack-plugin -D

TypeError: Cannot read property 'vue' of undefined

vue-template-compiler版本不一致导致的

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值