#Setting Up The Server Side

2 messages · Page 1 of 1 (latest)

smoky root
#

So basically, I have this app, that runs client code, but also uses backend code, php. Somewhere in the codebase inside of a .vue file, it expects a endpoint called *.php to be mounted already. Is it possible to use vue router, and make those endpoints, but would that be a security risk? Or is there a package I can integrate with vite, that can deploy the server side code first then the client side right after?

#

Seems like I could re-configure vite.config.ts, so it configure and launch both the server side and the client side, or I could use spawn...?