- Upgrade to Nuxt 4 (sources under app/), add @nuxt/ui, Tailwind v4 and Lucide icons; drop @nuxtjs/tailwindcss - Replace the custom Yale* components, Modal, Navbar and icon components with UButton/UInput/UModal/UTable/UCard/UHeader/UBadge/UAlert and toasts - Add dark/light mode toggle and a logout button - Add a useApi composable: central base URL/credentials, JSON-encoded bodies, error handling, and redirect to login when the session expires - Fix modal listener leak, missing People heading, unhandled fetch errors and login redirect for already-authenticated users - Make the code and people tables fit on phone screens - Retake README screenshots
33 lines
884 B
JSON
33 lines
884 B
JSON
{
|
|
"name": "nuxt-app",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "nuxt build",
|
|
"dev": "nuxt dev",
|
|
"generate": "nuxt generate",
|
|
"preview": "nuxt preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "nuxt typecheck",
|
|
"postinstall": "nuxt prepare"
|
|
},
|
|
"dependencies": {
|
|
"@iconify-json/lucide": "^1.2.155",
|
|
"@nuxt/ui": "^4.12.0",
|
|
"nuxt": "^4.6.4",
|
|
"tailwindcss": "^4.3.5",
|
|
"vue": "^3.5.45",
|
|
"vue-router": "^5.5.1"
|
|
},
|
|
"packageManager": "pnpm@12.6.0+sha512.3ef68f951cb111ac204b4a5a16f0b2ddf0da56a96e0413e81d855d9f0b55ef926714709028e1cd00c405c2c5fb7b9e8ec4dc46777c805d0373c2f2ff00fd20ec",
|
|
"devDependencies": {
|
|
"@nuxt/test-utils": "^4.4.0",
|
|
"@vue/test-utils": "^2.5.1",
|
|
"happy-dom": "^21.0.4",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^5.1.0",
|
|
"vue-tsc": "^3.3.14"
|
|
}
|
|
}
|