开发环境中服务端渲染不能更新,用的都是生产环境打包的文件,找不到原因
[0] > vue-core@1.0.0 dev:client F:\QD\学习\vue\vue-ssr
[0] > cross-env NODE_ENV=development webpack-dev-server --config build/webpack.config.client.js
[0]
[1]
[1] > vue-core@1.0.0 dev:server F:\QD\学习\vue\vue-ssr
[1] > nodemon server/server.js
[1]
[1] [nodemon] 1.17.5
[1] [nodemon] reading config .\nodemon.json
[1] [nodemon] to restart at any time, enter `rs`
[1] [nodemon] or send SIGHUP to 6712 to restart
[1] [nodemon] ignoring: .\.git/**/* node_modules/**/node_modules .eslintrc .\client/**/* build/webpack.config.client.js .\public/**/* .md
[1] [nodemon] watching: *.*
[1] [nodemon] watching extensions: js,json,ejs
[1] [nodemon] starting `node server/server.js`
[1] [nodemon] forking
[1] [nodemon] child pid: 4884
[1] [nodemon] watching 75 files
[1] server is listening on 0.0.0.0:3333
[0] Project is running at http://0.0.0.0:8000/
[0] webpack output is served from http://127.0.0.1:8000/public/
[0] 404s will fallback to /public/index.html
[0] Hash: 6c8629237a92ca56b837
[0] Version: webpack 3.11.0
[0] Time: 19167ms
[0] Asset Size Chunks Chunk Names
[0] resources/client/assets/images/bg.55db3d93.jpeg 80.8 kB [emitted]
[0] 0.bundle.6c862923.js 87.6 kB 0 [emitted]
[0] 1.bundle.6c862923.js 35 kB 1 [emitted]
[0] bundle.6c862923.js 2.2 MB 2 [emitted] [big] main
[0] index.html 243 bytes [emitted]
[0] vue-ssr-client-manifest.json 6 kB [emitted]
[0] [8] (webpack)/hot/log.js 1.04 kB {2} [built]
[0] [23] (webpack)/hot/emitter.js 77 bytes {2} [built]
[0] [36] ./client/util/bus.js 287 bytes {2} [built]
[0] [41] multi (webpack)-dev-server/client?http://0.0.0.0:8000 webpack/hot/dev-server ./client/client-entry.js 52 bytes {2} [built]
[0] [42] (webpack)-dev-server/client?http://0.0.0.0:8000 7.93 kB {2} [built]
[0] [43] ./node_modules/url/url.js 23.3 kB {2} [built]
[0] [50] ./node_modules/strip-ansi/index.js 161 bytes {2} [built]
[0] [52] ./node_modules/loglevel/lib/loglevel.js 7.86 kB {2} [built]
[0] [53] (webpack)-dev-server/client/socket.js 1.08 kB {2} [built]
[0] [55] (webpack)-dev-server/client/overlay.js 3.67 kB {2} [built]
[0] [60] (webpack)/hot nonrecursive ^\.\/log$ 170 bytes {2} [built]
[0] [62] (webpack)/hot/dev-server.js 1.61 kB {2} [built]
[0] [63] (webpack)/hot/log-apply-result.js 1.31 kB {2} [built]
[0] [64] ./client/client-entry.js 519 bytes {2} [built]
[0] [65] ./client/create-app.js 1.53 kB {2} [built]
[0] + 124 hidden modules
[0] Child html-webpack-plugin for "index.html":
[0] 1 asset
[0] [0] ./node_modules/html-webpack-plugin/lib/loader.js!./build/template.html 353 bytes {0} [built]
[0] [1] ./node_modules/lodash/lodash.js 540 kB {0} [built]
[0] [2] (webpack)/buildin/global.js 509 bytes {0} [built]
[0] [3] (webpack)/buildin/module.js 517 bytes {0} [built]
[0] webpack: Compiled successfully.
好像只有客户端打包信息