Vite integration on pre-existing react project.. 404 but dev server running
This is the existing project: https://github.com/nnall/CRUDApps/tree/main/signup
Because the backend is already set up in my current project, I'm reluctant to scrap it and use
I merely want to integrate it, like an npm package, and run the vite server as my dev server, which I appear to be doing (see pic) according to the terminal output when I run this script:
But the browser at that address is giving me a 404 error.
This is my config file:
and the npm packages:
Because the backend is already set up in my current project, I'm reluctant to scrap it and use
npm create vite@latest to create a whole new react project through the vite command.I merely want to integrate it, like an npm package, and run the vite server as my dev server, which I appear to be doing (see pic) according to the terminal output when I run this script:
"start": "npx vite",.But the browser at that address is giving me a 404 error.
This is my config file:
and the npm packages:

GitHub
Server learning apps. Contribute to nnall/CRUDApps development by creating an account on GitHub.
