We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e7bef7 commit af1151aCopy full SHA for af1151a
packages/@vue/cli-service/lib/commands/serve.js
@@ -64,7 +64,7 @@ module.exports = (api, options) => {
64
if (!isProduction) {
65
const devClients = [
66
// dev server client
67
- require.resolve(`webpack-dev-server/client`) + '?/sockjs-node',
+ require.resolve(`webpack-dev-server/client`) + (options.baseUrl !== '/' ? '?/sockjs-node' : ''),
68
// hmr client
69
require.resolve(projectDevServerOptions.hotOnly
70
? 'webpack/hot/only-dev-server'
0 commit comments