随笔分类 -  react

摘要:npm install antd-iconfont 文件路径 \node_modules\antd\es\style\core\iconfont.less 添加以下变量 @icon-url:"../../../../antd-iconfont/iconfont"; https://blog.csdn 阅读全文
posted @ 2022-08-18 15:58 进阶的哈姆雷特 阅读(166) 评论(0) 推荐(0)
摘要:const { Button } = antd; const { PoweroffOutlined } = icons; class App extends React.Component { state = { loadings: [], }; enterLoading = index => { 阅读全文
posted @ 2020-12-10 15:00 进阶的哈姆雷特 阅读(1773) 评论(0) 推荐(0)
摘要:<Router> <Switch> <Route exact path="/login" component={() => <Login get_Saved_Psw={this.get_Saved_Psw.bind(this)} />} /> </Switch> </Router> 阅读全文
posted @ 2020-12-03 10:54 进阶的哈姆雷特 阅读(120) 评论(0) 推荐(0)
摘要:cnpm install copy-webpack-plugin@4.6.0 --save-dev const CopyWebpackPlugin = require('copy-webpack-plugin'); // 默认复制到dist文件,则不需要加to new CopyWebpackPlug 阅读全文
posted @ 2020-11-27 10:33 进阶的哈姆雷特 阅读(787) 评论(0) 推荐(0)