优艾设计网

用webpack开发好vue.js项目后怎么发布到IIS里面?

优艾设计网 https://www.uibq.com 2023-06-08 07:52 出处:网络 作者:PS入门教程
在dist目录下面生成了一些文件 dist/index.html dist/static/js/app.2f35159c353c08b88af2.js dist/static/js/app.2f35159c353c08b88af2.js.map dist/static/js/manifest.5533bb333c90c238584b.js dist/static/js/ma

在dist目录下面生成了一些文件

dist/index.html dist/static/js/app.2f35159c353c08b88af2.js dist/static/js/app.2f35159c353c08b88af2.js.map dist/static/js/manifest.5533bb333c90c238584b.js dist/static/js/manifest.5533bb333c90c238584b.js.map dist/static/js/vendor.c7552a5优艾设计网_设计百科b43a540ddc0dc.js dist/static/js/vendor.c7552a5b43a540ddc0dc.js.map

是直接把这些文件拷贝到IIS网站目录下去就行了吗


杨柳657 5小时前

优艾设计网_设计模板

IIS也是Web服务器吧,是可以这样做的。


wping9901 5小时前

@馮宁飞你瞅啥 你说的是使用了history 优艾设计网_设计模板mode的问题。需要后端配置,eg:nginx


王斌 优艾设计网_PS论坛 5小时前

出现了一个问题不知道楼主 解决没有,就是从主页面可以点击链接访问到子页面,但是直接访问子页面就出现下面的问题,楼主有遇到相同的问题吗?感谢分享~


雾雨靡坐看云海把昨日还给我前世 5小时前

优艾设计网_设计模板

IIS的就不知道了,总之就是把所有不存在的路径重定向到index.html


0

精彩评论

暂无评论...
验证码 换一张
取 消