mitlist/fe
mohamad d996b8f6aa feat: Update package dependencies and enhance Vite configuration
This commit introduces several updates to the project dependencies and configuration:

- Added `reka-ui` version 2.3.1 to the project for enhanced UI components.
- Updated Vite configuration to load environment variables dynamically, improving flexibility for different environments.
- Refactored API base URL handling to utilize `import.meta.env` for better compatibility with Vite's environment management.
- Enhanced API service to conditionally set the base URL based on the development environment.

These changes aim to improve the application's UI capabilities and streamline configuration management.
2025-06-28 13:09:01 +02:00
..
.storybook feat: Integrate Storybook for component development 2025-05-31 14:43:59 +02:00
.vscode migrate to vue+vueuse+valerieui bc quasar customisation is sad 2025-05-13 19:23:15 +02:00
dev-dist migrate to vue+vueuse+valerieui bc quasar customisation is sad 2025-05-13 19:23:15 +02:00
e2e Refactor logging and clean up unused console statements across multiple files 2025-06-07 17:02:19 +02:00
public Add project documentation and production deployment guide 2025-06-02 18:07:41 +02:00
src feat: Update package dependencies and enhance Vite configuration 2025-06-28 13:09:01 +02:00
.editorconfig migrate to vue+vueuse+valerieui bc quasar customisation is sad 2025-05-13 19:23:15 +02:00
.env feat: Enhance application configuration and logging with new features 2025-06-27 11:55:29 +02:00
.gitattributes migrate to vue+vueuse+valerieui bc quasar customisation is sad 2025-05-13 19:23:15 +02:00
.gitignore feat: Integrate Storybook for component development 2025-05-31 14:43:59 +02:00
.prettierrc.json Update logging level to INFO, refine chore update logic, and enhance invite acceptance flow 2025-06-07 22:07:35 +02:00
Dockerfile fastapi-users, oauth, docker support, cleanup 2025-05-14 00:10:31 +02:00
Dockerfile.prod Update Dockerfile to use npm install and modify PWA theme and background colors in vite.config.ts 2025-06-02 18:07:41 +02:00
env.d.ts migrate to vue+vueuse+valerieui bc quasar customisation is sad 2025-05-13 19:23:15 +02:00
eslint.config.ts feat: Integrate Storybook for component development 2025-05-31 14:43:59 +02:00
index.html Refactor GroupsPage and ListDetailPage for improved loading and error handling 2025-06-05 00:46:23 +02:00
package-lock.json feat: Update package dependencies and enhance Vite configuration 2025-06-28 13:09:01 +02:00
package.json feat: Update package dependencies and enhance Vite configuration 2025-06-28 13:09:01 +02:00
playwright.config.ts migrate to vue+vueuse+valerieui bc quasar customisation is sad 2025-05-13 19:23:15 +02:00
README.md migrate to vue+vueuse+valerieui bc quasar customisation is sad 2025-05-13 19:23:15 +02:00
tsconfig.app.json migrate to vue+vueuse+valerieui bc quasar customisation is sad 2025-05-13 19:23:15 +02:00
tsconfig.json migrate to vue+vueuse+valerieui bc quasar customisation is sad 2025-05-13 19:23:15 +02:00
tsconfig.node.json migrate to vue+vueuse+valerieui bc quasar customisation is sad 2025-05-13 19:23:15 +02:00
tsconfig.vitest.json migrate to vue+vueuse+valerieui bc quasar customisation is sad 2025-05-13 19:23:15 +02:00
vite.config.ts feat: Update package dependencies and enhance Vite configuration 2025-06-28 13:09:01 +02:00
vitest.config.ts migrate to vue+vueuse+valerieui bc quasar customisation is sad 2025-05-13 19:23:15 +02:00

fe

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Run End-to-End Tests with Playwright

# Install browsers for the first run
npx playwright install

# When testing on CI, must build the project first
npm run build

# Runs the end-to-end tests
npm run test:e2e
# Runs the tests only on Chromium
npm run test:e2e -- --project=chromium
# Runs the tests of a specific file
npm run test:e2e -- tests/example.spec.ts
# Runs the tests in debug mode
npm run test:e2e -- --debug

Lint with ESLint

npm run lint