Nuxt 3 deploy fail
Trying to deploy a nuxt 3 app on pages and I'm getting this error:
Error: Failed to publish your Function. Got error: Uncaught Error: EvalError: Code generation from strings disallowed for this context
1 Reply
figured it out, turned ssr off and changed nitro preset in nuxt.config to output to a diff directory so it could find the output file
also used nuxt generate instead of build