Skip to content

Feat nextra 3#16

Merged
zxch3n merged 5 commits intomainfrom
feat-nextra-3
Aug 7, 2025
Merged

Feat nextra 3#16
zxch3n merged 5 commits intomainfrom
feat-nextra-3

Conversation

@zxch3n
Copy link
Copy Markdown
Member

@zxch3n zxch3n commented Aug 7, 2025

No description provided.

zxch3n and others added 5 commits June 8, 2025 08:27
Add a warning section explaining why using DOMContentLoaded event with top-level Loro imports fails in Vite. The issue occurs due to the timing conflict between DOMContentLoaded and asynchronous ES module/WASM initialization. Provides two solutions: removing the event listener or using dynamic imports.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Upgraded Nextra from 2.13.2 to 3.3.1
- Upgraded nextra-theme-docs from 2.12.3 to 3.3.1
- Upgraded Next.js from 13.3.4 to 14.2.31
- Upgraded TypeScript from 4.9.5 to 5.9.2
- Converted next.config.js to next.config.mjs for ESM support
- Converted all _meta.json files to _meta.js format
- Updated theme configuration to theme.config.jsx
- Fixed all component import paths to use relative imports
- Fixed dynamic imports in changelog.mdx
- Added type cast fix for Uint8Array in data.ts

Note: Could not upgrade to Nextra 4.3 as it requires app directory structure,
which would be a major breaking change. Nextra 3.3.1 provides good improvements
while maintaining compatibility with pages directory.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Remove app directory that was conflicting with pages router
- Remove mdx-components.tsx file from Nextra 4 migration attempt
- Project now builds successfully with Nextra 3.3.1

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@zxch3n zxch3n merged commit dafe41d into main Aug 7, 2025
1 check passed
@zxch3n zxch3n deleted the feat-nextra-3 branch August 7, 2025 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant