Getting Started
The Vue.js component to display single flash message or multiple flash messages to user. It has styles presets, but can be easily customized by passing style object as argument.
Installation
Use your package manager to install the package
Setup and Configuration in Vue project
Register the component in your app entry point (main.js or as you called it)
You can pass configuration object as second argument
Setup and Configuration in Nuxt project
Create vue-flash-message.js file in plugins directory and put the following code
In your nuxt.config.js file register your plugin
Last updated