02 2020 档案
摘要:<div class="test-layout"> <p>左</p> <p>右</p> </div> 1. position定位 .test-layout { position: relative; } p:last-child{ position: absolute; right: '设定你要的距
阅读全文
摘要:1. 在vue.config.js文件中引入路径 1 const path = require('path') 2. 添加相关函数 function resolve (dir) { return path.join(__dirname, dir) // path.join(__dirname)设置绝
阅读全文
摘要: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
阅读全文