Update frontend/README.md

This commit is contained in:
Leo Vasanko 2023-11-14 23:50:17 +00:00
parent c40c245ce6
commit 51fd07d4fa

View File

@ -1,6 +1,11 @@
# cista-front # Cista Vue Frontend
This template should help get you started developing with Vue 3 in Vite. The frontend is a Single-Page App implemented with Vue 3. Development uses the Vite server together with the main Python backend, but in production the latter also serves the prebuilt frontend files.
```fish
npm install
npm run dev
```
## Recommended IDE Setup ## Recommended IDE Setup
@ -33,8 +38,12 @@ npm install
npm run dev npm run dev
``` ```
Note: you need to run the `cista --dev -l :8000` backend server, where Vite will forward the API requests, concurrently in another terminal.
### Type-Check, Compile and Minify for Production ### Type-Check, Compile and Minify for Production
```sh ```sh
npm run build npm run build
``` ```
This is also called by `hatch build` during Python packaging.