0.0.1 • Published 10 months ago

veekite v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Installation

npm install @shuashuaa/v-kit

Importation

main.js

import { createApp } from 'vue'
import App from './App.vue'

import { vuetify } from "@shuashuaa/v-kit";
import "@shuashuaa/v-kit/style.css";
import 'vuetify/styles'

createApp(App)
.use(vuetify)
.mount('#app')

Usage

yourComponent.vue

<script setup>
import { LoginKit } from "@shuashuaa/v-kit";
</script>

<template>
    <div>
        <LoginKit
        titleName="Automated Server Fetching System"
        subtitleName="Make your fetching smoother like no other"
        version="1.0.0"
        bgColor="white"
        />
    </div>
</template>

!IMPORTANT
Remove the assets folder from src as well as the import path in main.js file

Props

CommandActionSyntax & Resources

GENERAL | bgColor | Changes the default background color white | String, HEX (#ffffff) | LCARD | lCardColor | Changes the left card background color | HEX (#ffffff) or just words 'blue, red, etc.' | | icon | Changes the default icon ( mdi-your-icon-of-choice ) | mdi icon library | | titleName | Changes the default title | String | | subtitleName | Changes the default subtitle | String | | version | Changes the default version | String | | creditTitle | Changes the current Powered By | String | | creditName | Changes the current @shuashuaa/v-kit teamName | String | RCARD | rCardColor | Changes the right card background color | HEX (#ffffff) or just words 'blue, red, etc.' | | loginColor | Changes the login button's color | HEX (#ffffff) or just words 'blue, red, etc.' | | loginName | Changes the login button's name | String | | loginIcon | Changes the login button's icon | mdi icon library | | toRoute | Route path where to redirect if credentials is accepted | link, path (ex. "/home") |

Built-in v-models and Functions

CommandActionSyntax & Resources
usernameHandles the username inputv-model
passwordHandles the password inputv-model
login()assigned function for login buttonfunction

On-Going Props & Functions

  • Popup notifications on login
    • alert methods ( success, warning, error, info )
    • alert title
  • FontFamily - Changes the entire font-family
  • Generate pinia store files
  • Generate vue-router files
  • Creation of Registration Component
  • template-type - classic, minimalist, verbose, etc.
  • htmx features for customization
  • and more..

License

MIT License © 2024-PRESENT Shuashuaa