![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue
NavHu
这个作者很懒,什么都没留下…
展开
-
Vue-Socket.io使用wss://协议,而非http
Vue-Socket.io 按照文档,一顿操作猛如虎之后,websocket是连上了,但是一看网络请求,发现使用的是http协议,可我明明填的是wss://地址啊: Vue.use(new VueSocketIO({ debug: true, connection: 'wss://test.com', vuex: { store, actionPrefix: 'SOCKET_', mutationPrefix: 'SOCKET_'原创 2021-02-27 23:20:16 · 4165 阅读 · 0 评论 -
Vue+ElementUI打包部署后报错static/css/static/fonts/element-icons.woff
项目部署后,发现浏览器控制台里报错: static/css/static/fonts/element-icons.535877f.woff net::ERR_ABORTED 404 很明显是打包后文件路径出了问题 解决办法:出处 修改build/utils.js // (which is the case during production build) if (options.extract) { return ExtractTextPlugin.extract({ use: loaders,原创 2021-02-27 21:42:58 · 3639 阅读 · 2 评论