Skip to content

supa-kit/auth-ui-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Auth UI Vue

@nuxtbase/auth-ui-vue minzip package size @nuxtbase/auth-ui-vue package version Netlify Status

Pre-built auth widgets to get started in minutes.

Preview

Auth UI Vue

Introduction

auth-ui-vue is a pre-built, customizable Vue component for authenticating users base on supabase

Customizable authentication UI component with custom themes and extensible styles to match your brand and aesthetic.

Installation

To start using the library, install it in your project:

pnpm install @nuxtbase/auth-ui-vue
or
yarn add @nuxtbase/auth-ui-vue

Usage

For Vue 3

<!-- App.vue -->
<template>
  ...
  <Auth
    :appearance="{
      theme: ThemeSupa
    }"
    :supabaseClient="supabaseClient"
  />
  ...
</template>

<script setup lang="ts">
  // Import predefined theme
  import { ThemeSupa } from '@supabase/auth-ui-shared'
  import { createClient } from '@supabase/supabase-js'

  import { Auth } from '@nuxtbase/auth-ui-vue'

  const supabaseClient = createClient(
    '<INSERT PROJECT URL>',
    '<INSERT PROJECT ANON API KEY>'
  )
</script>

For Nuxt 3

Define a nuxt plugin

// plugins/auth-ui-vue.client.ts

Inspiration

License

MIT @xiaoluoboding

Sponsor this project

 

Packages

No packages published

Contributors 5

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy