revine
v0.8.1
Published
A react framework, but better.
Readme
Revine
A minimal React framework with file-based routing and TypeScript-first approach.
Features
- ⚡️ Vite-powered development
- 🗂 File-based routing (Next.js style)
- 🛠 TypeScript support out-of-the-box
- 🚀 Zero-config setup
- 🔥 Hot Module Replacement (HMR)
Installation
Create a new project with:
npx revine my-projectDocumentation
CLI Options
npx revine <project-name>Project Structure
Generated projects follow this structure:
my-project/
├── src/
│ ├── pages/ # Route components
│ │ └── index.tsx
│ ├── App.tsx # Router configuration
│ └── main.tsx # Entry point
├── public/ # Static assets
├── vite.config.ts # Vite configuration
└── package.jsonRouting Convention
src/pages/index.tsx → /
src/pages/about.tsx → /about
src/pages/blog/[slug].tsx → /blog/:slug
Contributing
Clone repository
git clone https://github.com/your-username/revine.gitInstall dependencies
npm installBuild and link locally
npm run build
npm linkTest locally
revine test-project
