added tailwind and pwa plugin for vite

This commit is contained in:
2024-03-05 14:03:53 +01:00
parent a5f9e21655
commit faadac6e35
15 changed files with 4311 additions and 145 deletions

View File

@@ -5,16 +5,29 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"preview": "vite preview"
"build:app": "vue-tsc && vite build",
"build": "pnpm build:app && pnpm build:sw",
"preview": "vite preview",
"build:sw": "workbox generateSW workbox-config.js"
},
"dependencies": {
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"lucide-vue-next": "^0.344.0",
"radix-vue": "^1.4.9",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"vue": "^3.4.19"
},
"devDependencies": {
"@types/node": "^20.11.24",
"@vitejs/plugin-vue": "^5.0.4",
"autoprefixer": "^10.4.18",
"shadcn-vue": "^0.9.0",
"tailwindcss": "^3.4.1",
"typescript": "^5.2.2",
"vite": "^5.1.4",
"vite-plugin-pwa": "^0.19.0",
"vue-tsc": "^1.8.27"
}
}