Getting the Lex Consultoría Despacho Frontend running on your local machine takes fewer than five minutes. The project uses the Quasar CLI as its primary development and build tool, layered on top of Vite for lightning-fast module resolution. Follow the steps below from a fresh checkout to a live hot-reloading dev server, and then on to a production-ready distribution bundle.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/fredy-rizo/despacho-frontend/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, confirm that the following tools are available in your environment.Node.js ≥ 18
Any active LTS release from Node 18 through Node 28 is supported, as declared in
package.json engines.npm ≥ 6.13.4 or Yarn ≥ 1.21.1
Either package manager works. Use whichever your team standardizes on — all commands below show both variants.
Quasar CLI v2
The
@quasar/cli global binary drives quasar dev, quasar build, and quasar prepare. Install it once per machine.Installation Steps
Obtain a local copy of the source code from version control. Replace the URL below with your team’s actual remote if it differs.
Install all runtime and development dependencies declared in
package.json. A postinstall hook automatically runs quasar prepare to generate the type-helper shims after installation completes.The
quasar binary must be available on your PATH. Install it globally once — it is shared across all Quasar projects on the machine and does not need to be re-installed per project.Launch the app in development mode. Quasar’s dev server wraps Vite, providing hot-module replacement, Vue DevTools integration, and detailed error overlays. The
open: true setting in quasar.config.js causes your default browser to open automatically once the server is ready.The application will be available at
http://localhost:9000 (Quasar’s default port) and the browser tab opens on its own. Edit any file under src/ and the page updates instantly without a full reload.The SPA expects the backend REST API to be accessible at
http://localhost:2101. Start the backend service before making any authenticated requests or the Axios calls will fail with a network error.Compile and bundle the application for deployment. Quasar invokes Vite’s production build, applies tree-shaking, and outputs the hashed static assets to the
dist/spa/ directory.Additional Commands
Lint
Run ESLint across all JavaScript and Vue files using the flat config defined ineslint.config.js. Fix issues before committing to keep the codebase consistent.
Format
Auto-format all source files with Prettier. The.prettierrc.json file at the project root defines the formatting rules applied to JS, Vue, SCSS, HTML, Markdown, and JSON files.
Environment Summary
| Tool | Minimum Version | Purpose |
|---|---|---|
| Node.js | 18 | JavaScript runtime |
| npm | 6.13.4 | Package manager (alternative) |
| Yarn | 1.21.1 | Package manager (alternative) |
@quasar/cli | 2.x | Dev server, build, prepare |
| Backend API | — | http://localhost:2101 |
