feat: migrate frontend from Vue 3 to React 18 with TanStack ecosystem
- Complete rewrite of frontend using React 18 + TypeScript in strict mode - Implement TanStack Router for file-based routing matching URL structure - Use TanStack Query for server state management with smart caching - Replace Pinia stores with React Context API for auth and UI state - Adopt Tailwind CSS + shadcn/ui components for consistent styling - Switch from pnpm to Bun for faster package management and builds - Configure Vite to support React, TypeScript, and modern tooling - Create frontend.go with Go embed package for embedding dist/ in binary - Implement comprehensive TypeScript interfaces (strict mode, no 'any' types) - Add dark mode support throughout with Tailwind CSS dark: classes - Set up i18n infrastructure (English translations included) - Remove all Vue 3 code, components, stores, CSS, and assets - Includes 18 new files with ~2000 lines of production-ready code
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
import * as files from "./files";
|
||||
import * as share from "./share";
|
||||
import * as users from "./users";
|
||||
import * as settings from "./settings";
|
||||
import * as pub from "./pub";
|
||||
import search from "./search";
|
||||
import commands from "./commands";
|
||||
/**
|
||||
* API namespace exports
|
||||
* Re-export all API functions grouped by domain
|
||||
*/
|
||||
|
||||
export { files, share, users, settings, pub, commands, search };
|
||||
export * as auth from "./auth";
|
||||
export * as files from "./files";
|
||||
export * as settings from "./settings";
|
||||
export * as users from "./users";
|
||||
export * from "./preview";
|
||||
export * from "./search";
|
||||
export * from "./share";
|
||||
export * from "./client";
|
||||
export * from "./queryKeys";
|
||||
|
||||
Reference in New Issue
Block a user