This project is simple Lorem ipsum dolor generator.
When you use this template, try follow the checklist to update your info properly
- Sign Up
Install using npm:
$ npm install vue-perfect-auth
Register in main.js/ts
// main.js/ts
import AuthComponents from 'vue-perfect-auth'
import 'vue-perfect-auth/dist/index.css'
import 'vue-perfect-auth/dist/style.css'
createApp(App).use(AuthComponents).mount('#app')
Register as a module:
// perfectAuth.js/ts
import AuthComponents from 'vue-perfect-auth'
import { type UserModule } from '~/types'
import 'vue-perfect-auth/dist/index.css'
import 'vue-perfect-auth/dist/style.css'
export const install: UserModule = ({ app }) => {
app.use(AuthComponents)
}
<AuthLogin
class="..."
primary-color="#f59e0b"
hover-color="#d97706"
title=""
subtitle=""
buttonText=""
passwordPlaceholder=""
forgetPasswordLink=""
sign-up-link="/signup"
:show-debug="true"
:accept-google="googleLoginFunction"
:accept-facebook="facebookLoginFunction"
:accept-github="githubLoginFunction"
:accept-apple="appleLoginFunction"
:password-only="false"
@login="testLogin"
/>