DEV Community

loading...

Discussion on: Vite dev server with "netlify dev" support

Collapse
web2033 profile image
Eugene Kopich Author

You should then create a function, like netlify/functions/hello.js, and call it from your .vue component like fetch('/api/hello) in an appropriate place.

Forem Open with the Forem app