02 2020 档案

摘要:<div class="test-layout"> <p>左</p> <p>右</p> </div> 1. position定位 .test-layout { position: relative; } p:last-child{ position: absolute; right: '设定你要的距 阅读全文
posted @ 2020-02-24 15:12 包子不包子 阅读(1416) 评论(0) 推荐(0)
摘要:1. 在vue.config.js文件中引入路径 1 const path = require('path') 2. 添加相关函数 function resolve (dir) { return path.join(__dirname, dir) // path.join(__dirname)设置绝 阅读全文
posted @ 2020-02-21 15:15 包子不包子 阅读(1018) 评论(0) 推荐(0)
摘要:1. Parsing error: Adjacent JSX elements must be wrapped in an enclosing tag 解决方案:修改.eslintrc.js 1 // 初始 2 3 "parser": "babel-eslint", 4 5 // 改为 6 "par 阅读全文
posted @ 2020-02-20 14:46 包子不包子 阅读(2551) 评论(0) 推荐(0)