I developed a front-end project, npm run build with vue-cli scaffolding and wanted to use node.js to build a http server to view the project, but prompted the front-end js code to go wrong. There is no error in npm run build
server.js Code
I developed a front-end project, npm run build with vue-cli scaffolding and wanted to use node.js to build a http server to view the project, but prompted the front-end js code to go wrong. There is no error in npm run build
server.js Code