1.1.0 • Published 2 years ago

vue-bootstrap-login v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

A login/register component for the web apps.

Sign-Up / Sign-In Transition

1

Validation and Error

2

Using the component:

Installing

   npm i vue-bootstrap-login

Import to Project

// main.js file
import loginMain from 'vue-bootstrap-login/src/components/loginMain'
Vue.component('myLoginComp', loginMain)

or

<script>
 import loginMain from 'vue-bootstrap-login/src/components/loginMain'
  export default {
    components: {
      myLoginComp: loginMain
    }
  }
</script>

and

<template>
  <myLoginComp ...props>
</template>

Props

   <myLoginComp 
    v-model=""
    btnColor=""
    bgColor=""
    isDark=""
    loginTitle=""
    registerTitle=""            
    titleSize=""
    passLength=""
    forgotPassLink=""
    termsLink=""            
    isCorrect=""            
    loginMessage=""
    registerMessage=""/>
PropTypeDescriptionDefault
value/modelValue (v-model)Objectemail/password/submitType(login/register)/rememberMe{}
bgColorStringcomponent background colortransparent
btnColorStringbuttons background colorlinear-gradient(90deg,rgba(6, 154, 231, 1) 0%,rgba(35, 204, 236, 1) 100%)
loginTitleString-WELCOME
registerTitleString-JOIN US!
titleSizeStringcss font size4rem
passLengthNumberminimum password size6
forgotPassLinkStringforgot password link#
termsLinkStringregistration terms link#
isCorrectBooleansign up / sign in form validation result, when is false login/register button is disabledtrue
isDarkBooleanTitle and button texts color switch (dark/light)false
loginMessageStringerror message displayed on the login button when isCorrect=falseinformation is incorrect
registerMessageStringerror message displayed on the register button when isCorrect=falseinformation is incorrect

Built With

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.0

2 years ago