Installation
Install Readrave in your projectTypeScript
This project and the components are written in TypeScript. We recommend using TypeScript for your project as well.
- We will add support for JavaScript in the future.
- More granular control over the installation process will also be added in the future.
Installation
Initilize a Next.js project by running the following command, use TypeScript and Tailwind CSS in the project, if already initialized, skip this step:
To bootstrap a project with Readrave, you can use the following command:
The command overwrites these files:
The command adds these files:
Usage
Just run the following command to start the development server:
Now when you visit http://localhost:3000/docs
, you should see the documentation with demo pages.
These demo pages include sidebar, breadcrumb, previous and next buttons, and are mobile responsive.