Waku
Setup Fumadocs on Waku.
Getting Started
Before continuing, make sure to configure:
- Tailwind CSS 4.
 - Fumadocs MDX: follow the setup guide and create essential files like 
lib/source.ts. 
Installation
npm i fumadocs-core fumadocs-uiStyles
Add the following to your Tailwind CSS file:
@import 'tailwindcss';
@import 'fumadocs-ui/css/neutral.css';
@import 'fumadocs-ui/css/preset.css';Create Pages
Create a file for sharing layout props:
import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
export function baseOptions(): BaseLayoutProps {
  return {
    nav: {
      title: 'Waku',
    },
  };
}Create the following routes:
import type { ReactNode } from 'react';
import { DocsLayout } from 'fumadocs-ui/layouts/docs';
import { source } from '@/lib/source';
import { baseOptions } from '@/lib/layout.shared';
export default function Layout({ children }: { children: ReactNode }) {
  return (
    <DocsLayout {...baseOptions()} tree={source.pageTree}>
      {children}
    </DocsLayout>
  );
}Finally, wrap your entire app under Fumadocs providers:
'use client';
import type { ReactNode } from 'react';
import { RootProvider } from 'fumadocs-ui/provider/waku';
export function Provider({ children }: { children: ReactNode }) {
  return <RootProvider>{children}</RootProvider>;
}Done
You can start writing documents at content/docs:
---
title: Hello World
---
I love FumadocsHow is this guide?
Last updated on
