It uses popular scaffolding scripts like create-next-app
, create-vite
, create-astro
, or create-svelte
to scaffold projects and then configures TailwindCSS to work with your project out of the box.
npx create-tw@latest
# OR
npx create-tw@latest <project-name> --template <id>
yarn create tw
# OR
yearn create tw <project-name> --template <id>
pnpm create tw
# OR
pnpm create tw <project-name> --template <id>
It's ready! ✅
Ideas, suggestions and bug reports are much appreciated. In the following days I'm planning to add support for React, Vue & Svelte with Vite.
id | Template | Tool |
---|---|---|
nextjs | Next.js | create-next-app |
vanilla | Vanilla | create-vite |
react | React | create-vite |
vue | Vue | create-vite |
astro | Astro | create-astro |
svelte-kit | Svelte Kit | create-svelte |
preact | Preact | create-vite |
solid | Solid | degit |
NOTE: Add the -ts
postfix to the ID to install with TypeScript
npx create-tw@latest --template <id>
# OR
yarn create tw --template <id>