3打包生成dist文件夾併發布到服務器

打包生成dist文件夾併發布到服務器 打包生成dist文件夾: npm run buildcss 發佈1:使用靜態服務器工具包 安裝serve npm install -g serve serve dist 訪問:http://localhost:5000 發佈2:使用動態web服務器(tomcat)前端 修改配置:webpack.prod.conf.jswebpack output:{ publ
相關文章
相關標籤/搜索