Vue.js Frontend for GenderGov SaaS App
- Vue 69.9%
- TypeScript 28.8%
- HTML 0.9%
- CSS 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .vscode | ||
| public | ||
| src | ||
| .env.development | ||
| .env.example | ||
| .gitignore | ||
| env.d.ts | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
gendergov-frontend
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VS Code + Vue (Official) (and disable Vetur).
Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
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
pnpm install
Compile and Hot-Reload for Development
pnpm dev
The backend blueprints in backend/app.py are mounted under /api, so the frontend is configured to talk to http://localhost:7000/api in development via VITE_API_URL.
If you need a different backend origin, override it in a local env file:
VITE_API_URL=http://localhost:7000/api
Type-Check, Compile and Minify for Production
pnpm build