How to use Rewrap
React Integration
Here's how to use Rewrap to add utility classes to your React project:
// Install Rewrap npm i -g rewrap-vitejs-tailwind // Or use NPX npx rewrap-vite-tailwind // Run the installer if you have installed globally to initialize the package rewrap-installer // Run development server cd my-project-name npm run dev
Integration Steps
- Run the installer command.
- Follow the interactive prompts to configure your project:
- Choose between creating a new project or configuring an existing one.
- Select your preferred framework (React, Vue, or Svelte).
- Choose the language (JavaScript or TypeScript).
- Choose the language (JavaScript or TypeScript).
- Opt for additional features and packages.
- The installer will set up your project with the selected configuration.
Project Structure
To see how the project would be structured after the running the commands please visit the projects showcase page.
Need Help?
If you need assistance with integration or have any questions, our support team is here to help. Check out our documentation or contact support.