随笔分类 -  react

摘要:解决方案: <div style={{padding:'10px 0'}}> <span className={s.fileStyle}> <img src={this.state.imgSrc} alt="" className={s.imgs} id='imgBox'/> <ImagePicke 阅读全文
posted @ 2022-03-14 16:25 执手听风吟 阅读(457) 评论(0) 推荐(0) 编辑
摘要:处理项目管理中的静态资源(非需编译的资源) 在src同级目录创建文件夹public(文件名自定义) 使用到 copy-webpack-plugin 扩展 const CopyWebpackPlugin = require('copy-webpack-plugin'); …… plugins: [ … 阅读全文
posted @ 2021-07-30 09:41 执手听风吟 阅读(525) 评论(0) 推荐(0) 编辑