Encountering an error when building a Vue project with TypeScript and Webpack, specifically the "export 'render' (imported as 'render') was not found" issue. Below is the full error code:
export 'render' (imported as 'render') was not found in './Menu.vue?vue&type=template&id=55cdf198&ts=true' (possible exports: __esModule)
@ ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[8].use[0]!./client/views/pages/App.vue?vue&type=script&lang=js 5:0-36 32:10-14
@ ./client/views/pages/App.vue?vue&type=script&lang=js 1:0-185 1:0-185 1:186-360 1:186-360
@ ./client/views/pages/App.vue 2:0-54 3:0-49 3:0-49 8:49-55
@ ./client/views/index.js 8:0-34 9:22-25
Additionally, here is a snippet from my webpack.config.js file:
... (webpack config details) ...
And here is a segment from my package.json:
... (package.json dependencies and scripts) ...
I have searched online for solutions to this issue but have not found a suitable answer yet.