docs: refresh template documentation and examples
Update README and frontend layering docs to reflect the current template core structure, use relative repository links, and remove outdated demo guidance. Add expanded API response examples for common features and ignore local Codex configuration.docs: refresh template documentation and examples Update README and frontend layering docs to reflect the current template core structure, use relative repository links, and remove outdated demo guidance. Add expanded API response examples for common features and ignore local Codex configuration.
This commit is contained in:
@@ -94,26 +94,10 @@ VITE_DEV_DEFAULT_PASSWORD=
|
||||
- `src/styles`:Vuetify SASS settings 與 themes。
|
||||
- `src/language`:i18n JSON。
|
||||
|
||||
## Template Core 與 Demo
|
||||
## Template Core
|
||||
|
||||
template core 是 app shell、router、layout、plugins、styles、services 基礎設施與全域 stores。一般專案會保留它們。
|
||||
|
||||
demo/example 主要是 maintenance 與學生資料範例:
|
||||
|
||||
- `src/views/Home.vue`
|
||||
- `src/components/PageIndex.vue`
|
||||
- `src/views/maint/*`
|
||||
- `src/components/maint/*`
|
||||
- `src/composables/maint/*`
|
||||
- `src/components/PageMaint.vue`
|
||||
- `src/stores/students.ts`
|
||||
- `src/stores/semesters.ts`
|
||||
- `src/views/FncPage.vue`
|
||||
- `src/views/Settings.vue`
|
||||
- `src/assets/*` 中的品牌或展示素材
|
||||
|
||||
建立正式專案時可依需求替換或刪除 demo/example。刪除時同步清理 routes、menu、language、assets 與引用。
|
||||
|
||||
## Documentation
|
||||
|
||||
- [src/README.md](./src/README.md):`src` 開發入口。
|
||||
|
||||
Reference in New Issue
Block a user