Skip to content

feat: initialize Tauri 2.0 + React + TypeScript project with BlockNote editor#1

Merged
j4rviscmd merged 2 commits intomainfrom
feat/init-tauri
Mar 21, 2026
Merged

feat: initialize Tauri 2.0 + React + TypeScript project with BlockNote editor#1
j4rviscmd merged 2 commits intomainfrom
feat/init-tauri

Conversation

@j4rviscmd
Copy link
Copy Markdown
Owner

Summary

  • Scaffold Tauri 2.0 project with React TypeScript template
  • Add BlockNote rich-text editor (shadcn variant) with system theme detection
  • Configure Tailwind CSS v4 with shadcn theme variables (light/dark)
  • Set up feature-based co-location architecture with @/ path alias
  • Enable Content Security Policy for production security

Tech Stack

  • Framework: Tauri 2.0 (Rust backend + React frontend)
  • Editor: BlockNote (@blocknote/shadcn)
  • Styling: Tailwind CSS v4 + shadcn/ui theme
  • Build: Vite 7 + TypeScript 5.8

Project Structure

src/
├── features/editor/ui/Editor.tsx  # BlockNote editor component
├── features/editor/index.ts       # Public API
├── shared/ui/                     # Shared UI components (future)
├── shared/lib/                    # Shared utilities (future)
├── App.tsx                        # Root component
├── main.tsx                       # Entry point
└── index.css                      # Tailwind + shadcn theme

Test plan

  • npm run tauri dev launches the app window
  • BlockNote editor renders with welcome content
  • Text editing and toolbar formatting work
  • System dark/light theme switching is reflected
  • No console errors

🤖 Generated with Claude Code

…e editor

- Scaffold Tauri 2.0 project with React TypeScript template
- Add BlockNote rich-text editor (shadcn variant) with system theme detection
- Configure Tailwind CSS v4 with shadcn theme variables (light/dark)
- Set up feature-based co-location architecture with @/ path alias
- Enable Content Security Policy for production security

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@j4rviscmd j4rviscmd added the enhancement New feature or request label Mar 21, 2026
Prevent environment variable files from being committed accidentally.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@j4rviscmd j4rviscmd merged commit 402db22 into main Mar 21, 2026
@j4rviscmd j4rviscmd deleted the feat/init-tauri branch March 21, 2026 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant