🎨 Update README to reflect migration from React to Vue and reorganize project structure documentation
This commit is contained in:
@@ -102,31 +102,46 @@ docker-compose down
|
|||||||
|
|
||||||
```
|
```
|
||||||
src/
|
src/
|
||||||
├── components/ # React components
|
├── components/ # Vue single-file components (.vue)
|
||||||
│ ├── PokemonCard.jsx
|
│ ├── PokemonCard.vue
|
||||||
│ ├── SearchBar.jsx
|
│ ├── SearchBar.vue
|
||||||
│ ├── TypeMatrix.jsx
|
│ ├── TypeMatrix.vue
|
||||||
│ └── ...
|
│ └── ...
|
||||||
├── hooks/ # Custom React hooks
|
├── composables/ # Vue 3 Composition API composables
|
||||||
│ ├── usePokemon.js
|
│ ├── usePokemon.js
|
||||||
│ ├── useSearch.js
|
│ ├── useSearch.js
|
||||||
|
│ ├── useFeatureFlags.js
|
||||||
|
│ └── ...
|
||||||
|
├── views/ # Page components
|
||||||
|
│ ├── HomeView.vue
|
||||||
|
│ ├── PokemonDetailView.vue
|
||||||
│ └── ...
|
│ └── ...
|
||||||
├── services/ # API & data services
|
├── services/ # API & data services
|
||||||
│ ├── pokemonService.js
|
│ ├── pokemonService.js
|
||||||
│ ├── typeService.js
|
│ ├── typeService.js
|
||||||
│ └── ...
|
│ └── ...
|
||||||
├── utils/ # Helper functions
|
├── utilities/ # Helper functions
|
||||||
│ ├── formatters.js
|
│ ├── formatters.js
|
||||||
│ ├── validators.js
|
│ ├── validators.js
|
||||||
│ └── ...
|
│ └── ...
|
||||||
├── types/ # TypeScript type definitions
|
├── config/ # Application configuration
|
||||||
│ └── pokemon.ts
|
│ └── constants.js
|
||||||
├── styles/ # Global styles
|
├── directives/ # Custom Vue directives
|
||||||
│ └── index.css
|
│ └── ...
|
||||||
|
├── router/ # Vue Router configuration
|
||||||
|
│ └── index.js
|
||||||
├── workers/ # Web Workers
|
├── workers/ # Web Workers
|
||||||
│ └── search.worker.js
|
│ └── search.worker.js
|
||||||
├── App.jsx
|
├── assets/ # Images, fonts, static files
|
||||||
└── main.jsx
|
├── style.css # Global styles
|
||||||
|
├── App.vue # Root component
|
||||||
|
└── main.js # Application entry point
|
||||||
|
|
||||||
|
test/
|
||||||
|
├── unit/ # Unit tests
|
||||||
|
├── integration/ # Integration tests
|
||||||
|
└── e2e/ # End-to-end tests
|
||||||
|
```
|
||||||
|
|
||||||
test/
|
test/
|
||||||
├── unit/ # Unit tests
|
├── unit/ # Unit tests
|
||||||
|
|||||||
Reference in New Issue
Block a user