Files
Novel-AI-Frontend/README.md
T

42 lines
812 B
Markdown

# SuperTale Vue Rewrite
Vue 3 + JavaScript rewrite workspace for the existing SuperTale creator frontend.
## Stack
- Vite
- Vue 3
- JavaScript
- Vue Router
- Pinia
- TanStack Vue Query
- Element Plus
- SCSS
- Vue I18n
- Vue Flow
## Explicitly Not Migrated
- `piko-mini-game`
- `rewards`
- `companion`
## Commands
```bash
pnpm --filter supertale-vue-rewrite dev
pnpm --filter supertale-vue-rewrite build
```
The dev server defaults to `http://localhost:5174` and proxies `/api/v1` and `/static` to `VITE_API_URL` or `http://127.0.0.1:8780`.
## Mock Mode
Mock API is enabled by default unless `VITE_USE_MOCK=false` is set.
```bash
VITE_USE_MOCK=true
```
In mock mode, auth is auto-restored as `mock_user`, project and task APIs use local in-memory data, and the app can be navigated without a backend.