ust-finx-snackbar
v0.0.3
Published
markdown # UST Finx Snackbar
Downloads
3
Maintainers
Readme
markdown
UST Finx Snackbar
A Vue 3 component for displaying notifications/snackbars, built with TypeScript. This component is designed to integrate seamlessly with Vue 3 applications and provides a customizable notification system.
Features
- Built with Vue 3 and TypeScript.
- Supports Vuetify for styling.
- Customizable notification messages.
- Easy integration with Vue applications.
- Supports modern JavaScript and TypeScript features.
Installation
Install the package using npm:
npm install ust-finx-snackbarUsage
Basic Usage
Import and use the UstSnackbar component in your Vue application:
import { createApp } from 'vue';
import App from './App.vue';
import UstSnackbar from 'ust-finx-snackbar';
const app = createApp(App);
app.use(UstSnackbar);
app.mount('#app');Example
<template>
<UstSnackbar />
</template>Scripts
The following npm scripts are available:
dev: Start the development server using Vite.build: Build the project usingvue-tscand Vite.preview: Preview the production build.lint: Run ESLint to check and fix code issues.style:check: Check code formatting with Prettier.style:format: Format code with Prettier.type-check: Perform TypeScript type checking.
Run a script using:
npm run <script-name>Development
Prerequisites
- Node.js
- npm
Setup
Clone the repository.
Install dependencies:
npm installStart the development server:
npm run dev
Build
To build the project for production:
npm run buildConfiguration
TypeScript Configuration
The project uses the following TypeScript configurations:
tsconfig.node.json: Configuration for Node.js-related builds.tsconfig.app.json: Configuration for the application.
Linting and Formatting
- ESLint is used for linting.
- Prettier is used for code formatting.
Dependencies
vue: ^3.5.13vuetify: ^3.8.2pinia: ^3.0.2
Author
Satyam Dasari
Email: [email protected]
License
This project is licensed under the MIT License.
