硅谷外卖项目(坑点)

1 . 当时用stylus写项目的时候注意stylus和loader的版本兼容

解决办法:更改版本号 stylus 0.54.5 stylus-loader 3.0.1 再重新安装依赖即可

2 . 路由器的的配置为routes而不是routers ,里面的component为全小写

3 . 在使用图标字体的时候,如果在项目中添加了新的图标,需要跟新链接

4 . 在使用flex弹性模型的时候,clearFix会影响jusitfy:space-between的使用。解决方法:xxx::after{display:none}

(侵权必删)

posted @ 2021-08-23 15:13  lion_newbie  阅读(111)  评论(0)    收藏  举报