2)在webpack.config.js 中添加配置项。 devServer:{ port:8000, //端口设置 // 添加打包文件夹路径 contentBase:path.join(__dirname,"dist") } ...
確定! 回上一頁