Vite plugin for building React web applications on the Tana blockchain platform.
- React 19 SSR - Server-side rendering with React Server Components
- Hot Module Replacement - Instant updates during development
- File-based routing -
app/page.tsx,app/about/page.tsx, etc. - TypeScript & Tailwind - Full support out of the box
- Deploy to blockchain - Ship your site as an on-chain contract
npm install -g @tananetwork/tanatana new website my-site
cd my-sitenpm run devOpen http://localhost:5173 to see your site.
tana deploy website .Create a site from a template:
tana new website my-site --template blogAvailable templates:
default- Minimal starter with Tailwindblog- Blog with markdown supportmarketing- Landing page templateminimal- Bare bones starterportfolio- Personal portfolio
my-site/
├── app/
│ ├── page.tsx # Home page (/)
│ ├── about/
│ │ └── page.tsx # About page (/about)
│ └── layout.tsx # Root layout
├── public/ # Static assets
├── vite.config.ts # Vite configuration
└── package.json
Full documentation at tana.network/docs
MIT