Vue.js Simple Notifications
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