- Added axios as a dependency for handling HTTP requests. - Refactored the authentication logic by moving it to a new module structure. - Replaced the old auth store with a composable useAuth for better state management. - Created a new Login.vue component for the login page with improved UI. - Implemented an AuthService for handling authentication-related API calls. - Removed the old Login.vue and uth.ts files to clean up the codebase. - Updated router to use the new login component and auth composable. - Added interceptors to handle token management and error responses globally.
33 lines
790 B
JSON
33 lines
790 B
JSON
{
|
|
"name": "golscontros-frontend-v1",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc -b && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@primeuix/themes": "^1.2.5",
|
|
"@primevue/auto-import-resolver": "^4.4.1",
|
|
"@tailwindcss/vite": "^4.1.16",
|
|
"@vueuse/core": "^14.0.0",
|
|
"axios": "^1.13.2",
|
|
"primeicons": "^7.0.0",
|
|
"primevue": "^4.4.1",
|
|
"tailwindcss-primeui": "^0.6.1",
|
|
"unplugin-vue-components": "^30.0.0",
|
|
"vue": "^3.5.22",
|
|
"vue-router": "^4.6.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.6.0",
|
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
"@vue/tsconfig": "^0.8.1",
|
|
"typescript": "~5.9.3",
|
|
"vite": "^7.1.7",
|
|
"vue-tsc": "^3.1.0"
|
|
}
|
|
}
|