3.0.0-rc.5
http://www.baidu.com/no-url-here
pls look the domain:
http://192.168.1.113:8080/sockjs-node/info?t=1532447208549
ws://192.168.1.113:8080/sockjs-node/095/w330zyvl/websocket
http://www.dev..com/b0b2f0652cccee4c5b96.hot-update.json
when:
<script type="text/javascript" src="http://192.168.1.113:8080/js/pingjia4.js"></script>
in test.htm. the domain is wrong
the domain is wrong
Use devServer.public
in vue.config.js
to specify your public HMR URL:
module.exports = {
devServer: {
public: 'www.dev.com/test.htm'
}
}
I upgrade vue-cli to 3.0.0-rc.11 was resolve this issue.
@yyx990803 Thank you very much. That resolves an issue I was having.
Most helpful comment
Use
devServer.public
invue.config.js
to specify your public HMR URL: