ɬɧҽƈαʋყɖҽʋ
ɬɧҽƈαʋყɖҽʋ
NNuxt
Created by ɬɧҽƈαʋყɖҽʋ on 3/25/2024 in #❓・help
Need help installing a vite plugin, in a nuxt 3 app
So what I was hoping to achieve with plugin didn't work, I'm tryin out another option that requires webpack. I changed up the config:
export default defineNuxtConfig({
devtools: { enabled: true },

builder: 'webpack',

webpack: {
loaders: {
vue: {
hotReload: true,
}
}
}

})
export default defineNuxtConfig({
devtools: { enabled: true },

builder: 'webpack',

webpack: {
loaders: {
vue: {
hotReload: true,
}
}
}

})
When I run the server, I get:
ERROR [unhandledRejection] Parse Error: Data after Connection: close
at Socket.socketOnData (node:_http_client:532:22)
at Socket.emit (node:events:519:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
ERROR [unhandledRejection] Parse Error: Data after Connection: close
at Socket.socketOnData (node:_http_client:532:22)
at Socket.emit (node:events:519:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
The app runs in the browser, but nothing else after that Hot reload seems disconnected.
I'm I missing something?
5 replies
NNuxt
Created by ɬɧҽƈαʋყɖҽʋ on 3/25/2024 in #❓・help
Need help installing a vite plugin, in a nuxt 3 app
Thanks Chief!
5 replies