ws-alert-vue
v0.1.2
Published
Wildstream Custom Alert Vue Component
Downloads
30
Readme
ws-alert vue
A simple popup alert component for Vue.js.
Installation
npm install ws-alert-vue
# OR
yarn add ws-alert-vue
In your main.ts
file:
import {createApp} from "vue";
const app = createApp(App);
// Import Css
import "ws-alert-vue/src/tailwind.css";
import WsAlertPlugin from "ws-alert-vue/plugin";
// Use Plugin
app.use(WsAlertPlugin);
app.mount("#app");
In your App.vue file.
<template>
<WsAlert/>
<!-- ... other components here ...-->
</template>