Open Kanahiro opened 5 hours ago
You can import amplify_outputs.json like this:
amplify_outputs.json
import outputs from '../../amplify_outputs.json';
This is easy but it is not comfortable to write this line in everywhere. It is good to inject amplify modules and values to context like Supabase: https://supabase.com/docs/guides/auth/server-side/sveltekit
You can import
amplify_outputs.json
like this:This is easy but it is not comfortable to write this line in everywhere. It is good to inject amplify modules and values to context like Supabase: https://supabase.com/docs/guides/auth/server-side/sveltekit