>》>》>》>》
摘要: 先初始化各种依赖包,可选,不需要的删除 npm install react-router react-router-dom less less-loader antd react-redux --save 一般 import 'antd/dist/antd.css' 引入 antd高级引入-按需加载 阅读全文
posted @ 2020-07-15 14:37 大、锤 阅读(1512) 评论(0) 推荐(0) 编辑
摘要: npm install -g create-react-app create-react-app APP cd APP npm run start 这就跑起来了 阅读全文
posted @ 2020-07-15 14:21 大、锤 阅读(265) 评论(0) 推荐(0) 编辑
摘要: node命令报错,权限不够 解决: 打开Windos PowerShell 并且以右键管理员身份运行 2.输入set-ExecutionPolicy RemoteSigned, 并且把权限改权限为A 再次运行就ok 阅读全文
posted @ 2020-07-15 11:48 大、锤 阅读(1122) 评论(0) 推荐(0) 编辑
摘要: css3之前使用js实现 <div style="padding: 0 1rem;"> <div id="container_small_tip"> <div id="content_small_tip"></div> </div> </div> <script> function roll(spe 阅读全文
posted @ 2020-07-15 10:10 大、锤 阅读(347) 评论(0) 推荐(0) 编辑