refactor: organize frontend by feature
This commit is contained in:
@@ -14,8 +14,7 @@ You are implementing a frontend task in this repository.
|
||||
## Instructions
|
||||
|
||||
- Implement only the requested frontend task.
|
||||
- Existing route-level app screens live under `frontend/src/views/app`.
|
||||
- New isolated feature slices should prefer `frontend/src/features/<feature>`.
|
||||
- Feature-owned route views, stores, composables, constants, utilities, and local components belong under `frontend/src/features/<feature>`.
|
||||
- Use `frontend/src/config.js` for runtime configuration.
|
||||
- Preserve token refresh behavior in `authStore` and `frontend/src/plugins/api.js`.
|
||||
- Use generated API types from `frontend/src/api/schema.d.ts` when the endpoint has been generated.
|
||||
|
||||
Reference in New Issue
Block a user