refactor(admin): simplify entry route to point to dashboard

The `/admin` route now directly serves the dashboard page by adding an alias, removing the need for a separate login page at that path.

- Deletes `pages/admin/index.vue` and the `admin-login` layout.
- Aliases `/admin` to `/admin/dashboard` for a more direct entry point.
- Improves the default layout with a sticky footer.
- Updates VSCode settings for better Tailwind CSS IntelliSense.
This commit is contained in:
xiaomai
2025-10-09 09:22:21 +08:00
parent cc7b2a7398
commit 1fedf7094c
6 changed files with 39 additions and 55 deletions

29
.vscode/settings.json vendored
View File

@@ -1,8 +1,23 @@
{
"files.associations": {
"*.page-template": "vue",
"*.layout-template": "vue",
"*.vue": "vue",
"*.css": "tailwindcss"
}
}
"files.associations": {
"*.page-template": "vue",
"*.layout-template": "vue",
"*.vue": "vue",
"*.css": "tailwindcss"
},
"editor.quickSuggestions": {
"other": "on",
"comments": "off",
"strings": "on"
},
"tailwindCSS.classAttributes": [
"class",
"className",
"ngClass",
"class:list",
"ui"
],
"tailwindCSS.experimental.classRegex": [
["ui:\\s*{([^)]*)\\s*}", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
]
}