Closed ZhaoTim closed 6 years ago
@ZhaoTim 刚刚改了一下webpack配置的结构, 顺便把你这个问题也改了, 因为脚手架也是你说的这么做的, 已通过本地nginx测试
server {
listen 9993;
server_name localhost:9993;
location / {
root ~/Documents/react/ts-react-webpack4/dist/qa/;
index index.html index.htm;
}
}
为什么dist没有index.html啊?