Files
OpenFlare/frontend
ryan c230d5a744 fix(frontend): 解决添加DNS账号时this.post is not a function报错
在 DnsAccountCreateDialog 组件中,mutationFn 错误地直接传递了类静态方法 DnsAccountService.create,导致执行时丢失 class constructor 上下文。现将其修改为使用箭头函数包裹,以保证 this 指向正确。
2026-06-30 11:52:24 +08:00
..

Wavelet Frontend

Modern frontend application for the Wavelet scaffold framework.

中文 | English

Tech Stack

Getting Started

Prerequisites

  • Node.js (Latest LTS recommended)
  • pnpm

Installation

  1. Install dependencies:

    pnpm install
    
  2. Run the development server:

    pnpm dev
    

    Open http://localhost:3000 (or the port shown in your terminal) with your browser to see the result.

Project Structure

  • app/: Next.js App Router pages and layouts
  • components/: Reusable UI components
    • ui/: Base UI components (buttons, inputs, etc.)
    • common/: Shared business components
  • lib/: Utility functions and service definitions
  • public/: Static assets

Scripts

  • pnpm dev: Start development server with Turbopack
  • pnpm build: Build the application for production
  • pnpm start: Start production server
  • pnpm lint: Run ESLint