nuxtbase / auth-ui-vue

🔒 Pre-built Auth UI base on Supabase for Vue
https://auth-ui-vue.vercel.app/
MIT License
245 stars 23 forks source link

Really long load time for the CSS #5

Open dietler opened 1 year ago

dietler commented 1 year ago

What am I doing wrong that it seems to take a very long time for the CSS to load? I see the fields and text, but the default formatting seems to take a full 10+ seconds to prepare itself.

I thought I had an issue on an older project where I implemented it, but I just created a fresh new Nuxt project and this was the first thing I tried and I'm still having the same issue where it seems to be delayed a great deal compared to all of the other styling on the site which is instant.

My code:

<template>
    <Auth :supabaseClient="supabaseClient" :appearance="{
        theme: ThemeSupa,
    }"
    :providers="[]" />
</template>

<script setup lang="ts">
import { ThemeSupa } from "@supabase/auth-ui-shared";
import { Auth } from "@nuxtbase/auth-ui-vue";

const supabaseClient = useSupabaseClient();
</script>
CyberCowboy404 commented 4 months ago

Have same issue