This guide assumes that you have already setup Tailwind CSS in your Next.js app. If you haven’t, first follow the Next.js and Tailwind CSS installation guides.

Install Subframe

Run the following command in the root of your repository to install Subframe and configure your project:

npx @subframe/cli@latest init

Troubleshooting

If you run into any issues with the installation, refer to the manual installation guide for all of the steps needed to get Subframe working in your codebase.