- 博客(2)
- 收藏
- 关注
原创 将next项目部署到服务器上并用pm2进行守护
第一步:nginx.conf upstream blogweb{ server 127.0.0.1:端口号; keepalive 64; } server { listen 80; server_name 域名; location / { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection
2020-05-22 16:43:37
655
原创 create-react-app中配置antd的按需加载
在create-react-app中配置antd的按需加载,让antd在react中使用起来更加方便快捷。 第一步:安装插件 yarn add antd react-app-rewired customize-cra babel-plugin-import 第二步:修改package.js配置 "scripts": { - "start": "react-scripts start", + "start": "react-app-rewired start", - "build": "reac
2020-05-22 16:39:01
284
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人