create tw
1.0.0

它使用流行的腳手架腳本,例如create-next-app , create-vite , create-astro或create-svelte來腳手架項目,然後配置tailwindcss以與您的項目一起使用。
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 >已經準備好了! ✅
想法,建議和錯誤報告非常感謝。在接下來的幾天裡,我計劃增加對React,Vue&Svelte的支持。
| ID | 模板 | 工具 |
|---|---|---|
| nextjs | next.js | 創建次要應用 |
| 香草 | 香草 | 創建 |
| 反應 | 反應 | 創建 |
| Vue | Vue | 創建 |
| 太空人 | 太空人 | 創建astro |
| 苗條的Kit | Svelte套件 | 創建 - velte |
| 預先反應 | 預先反應 | 創建 |
| 堅硬的 | 堅硬的 | DEGIT |
注意:將-ts後綴添加到ID中以安裝使用TypeScript
npx create-tw@latest --template < id >
# OR
yarn create tw --template < id >