$ show franciscobmacedo/remotefreelancept
This repository is a Vue 3 single-page application simulating net income and taxes for freelancers in Portugal. It features a form for inputting income and various tax-related parameters, a dashboard displaying calculated results with charts and tables, and functionality to save and load simulations. The application uses Pinia for state management, Vue Router for navigation, and Tailwind CSS for styling. Key architectural elements include a centralized store handling complex tax calculations, reusable UI components like adjustable counters and formatted inputs, and URL parameter synchronization for shareable links.
The LLM identified 2 files worth highlighting for reuse:
Contains pure utility functions for number formatting, currency conversion, percentage calculation, and UUID generation. These functions are used throughout the application for consistent data presentation and have no framework dependencies, making them easily extractable to any JavaScript project.
A Vue 3 composable that provides responsive breakpoint logic based on window width. It returns reactive breakpoint state and helper booleans (e.g., smAndUp, mdAndDown) for use in templates and logic. The composable is self-contained, only depends on Vue's reactivity system, and can be reused in any Vue 3 project needing responsive behavior.