This guide assumes that you have already setup React and Tailwind CSS in your Vite app. If you haven’t, please follow
the Vite and Tailwind
CSS installation guides.
Install Subframe
Run the following command in the root of your repository to install Subframe and configure your project:Configure Vite to use import aliases
- Configure the
compilerOptionsin thetsconfig.app.jsonfile so Typescript understands your import aliases.
- Run
npm install -D @types/nodeand then updatevite.config.tsso Vite can resolve paths without error:

