https://codesandbox.io/s/ly824lz46l
modern: "client" to nuxt.config.js.pages/index.vue - the browser won't update automatically. Additionally, you will be able to see at least one request to https://ly824lz46l.sse.codesandbox.io/__webpack_hmr/modern failing with status code 404modern: "client" from nuxt.config.js.HMR working with modern: "client"
Request to .../__webpack_hmr/modern failing with code 404
I used the default nuxt template from code sandbox and added modern: "client" to nuxt.config.js.
fyi - you can run modern only for production with something like this
modern: process.env.NODE_ENV === 'production',
Will work on it