Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor code to split logic into multiple components #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

friuns2
Copy link
Owner

@friuns2 friuns2 commented Jun 25, 2024

Refactors the codebase to split logic into multiple Vue components for improved maintainability and scalability.

  • Adds new components: Introduces AttractionList.vue, MapView.vue, and Filters.vue in the components directory. These components encapsulate the logic and presentation for the attraction list, map view, and filters, respectively.
  • Updates pages/index.vue: Removes the inline logic and presentation for the attraction list, map view, and filters. Now imports and utilizes the new components, passing necessary data through props.
  • Modifies README.md: Updates documentation to include information about the new component structure and usage, providing clarity on how the application's UI is constructed and how to interact with the new components.

For more details, open the Copilot Workspace session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant