🎨 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/
|
||||
├── components/ # React components
|
||||
│ ├── PokemonCard.jsx
|
||||
│ ├── SearchBar.jsx
|
||||
│ ├── TypeMatrix.jsx
|
||||
├── components/ # Vue single-file components (.vue)
|
||||
│ ├── PokemonCard.vue
|
||||
│ ├── SearchBar.vue
|
||||
│ ├── TypeMatrix.vue
|
||||
│ └── ...
|
||||
├── hooks/ # Custom React hooks
|
||||
├── composables/ # Vue 3 Composition API composables
|
||||
│ ├── usePokemon.js
|
||||
│ ├── useSearch.js
|
||||
│ ├── useFeatureFlags.js
|
||||
│ └── ...
|
||||
├── views/ # Page components
|
||||
│ ├── HomeView.vue
|
||||
│ ├── PokemonDetailView.vue
|
||||
│ └── ...
|
||||
├── services/ # API & data services
|
||||
│ ├── pokemonService.js
|
||||
│ ├── typeService.js
|
||||
│ └── ...
|
||||
├── utils/ # Helper functions
|
||||
├── utilities/ # Helper functions
|
||||
│ ├── formatters.js
|
||||
│ ├── validators.js
|
||||
│ └── ...
|
||||
├── types/ # TypeScript type definitions
|
||||
│ └── pokemon.ts
|
||||
├── styles/ # Global styles
|
||||
│ └── index.css
|
||||
├── config/ # Application configuration
|
||||
│ └── constants.js
|
||||
├── directives/ # Custom Vue directives
|
||||
│ └── ...
|
||||
├── router/ # Vue Router configuration
|
||||
│ └── index.js
|
||||
├── workers/ # Web Workers
|
||||
│ └── search.worker.js
|
||||
├── App.jsx
|
||||
└── main.jsx
|
||||
├── assets/ # Images, fonts, static files
|
||||
├── 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/
|
||||
├── unit/ # Unit tests
|
||||
|
||||
Reference in New Issue
Block a user