0.0.1 • Published 1 year ago
@mdxh/vue-toastification v0.0.1
@mdxh/vue-toastification
Install VueToastification to vue3 using dxh wrapper
Usage
Installation
Just use the below command to install VueToastification.
npm i @mdxh/vue-toastification@latest
Plugin registration
Create a VueToastification instance and pass it to the app as a plugin:
import { createApp } from "vue";
import Toast, { type PluginOptions } from "vue-toastification";
// Import the CSS or use your own!
import "vue-toastification/dist/index.css";
const app = createApp(...);
const options: PluginOptions = {
// You can set your default options here
};
app.use(Toast, options);
Start your project
npm run dev
VueToastification Documentation
0.0.1
1 year ago
0.0.0-sdfsf
1 year ago