snakemastr508
Use proxy routeRules in build hook
I have created a custom Nuxt module that sends data to a cms on build:done hook. The cms location is configured in routeRules with proxy enabled. So far I have tried $fetch or useFetch but both are not available in this context ofcourse.
How could I use the proxy rewrite in a build hook?
12 replies