A Simple notifications implementation in Vue.js 3 and Tailwind
Vue.js Simple Notifications
? Vue.js Simple Notifications allows you to add extra simple notifications to your app with ease.
Installation
Project Setup
npm install
Compile and test it
npm run dev
If you want to use the component on your own project you’ll need to use vue 3 and install the following libraries:
First you need to install tailwind and set it up
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
Configure your tailwind template paths
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,ts,vue}",
],
theme: {
extend: {},
},
plugins: [],
}
Install uuid to manage unique identifiers
npm install uuid