+
95
-

回答

配置的时候增加https选项

webpack-dev-server --https --cert ./cert.pem --key ./key.pem


网友回复

我知道答案,我要回答