Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndaba1/twinit
Setup tailwindcss on your project with one command
https://github.com/ndaba1/twinit
tailwind tailwindcss twinit
Last synced: 21 days ago
JSON representation
Setup tailwindcss on your project with one command
- Host: GitHub
- URL: https://github.com/ndaba1/twinit
- Owner: ndaba1
- License: mit
- Created: 2022-09-07T15:36:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T23:25:16.000Z (9 months ago)
- Last Synced: 2024-04-29T00:21:15.655Z (9 months ago)
- Topics: tailwind, tailwindcss, twinit
- Language: TypeScript
- Homepage:
- Size: 705 KB
- Stars: 142
- Watchers: 1
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Tailwind Init (twinit)
![twinit gif](assets/twinit.gif)
With the twinit CLI, you no longer have to setup tailwind manually. It auto detects the framework that you are using and the preferred package manager. You simply invoke a simple command and the CLI scaffolds everything you need to get up and running with tailwind on your framework of choice. The following frameworks are currently supported, with support for more being worked on:
- [x] CRA
- [x] Preact
- [x] Next.js
- [x] Gatsby.js
- [x] Remix
- [x] Astro
- [x] Vue.js
- [x] Angular
- [x] Ruby on rails
- [x] Nuxt.js v2 and v3
- [x] Solid.js
- [x] Svelte Kit
- [x] Svelte + Rollup
- [x] Laravel
- [x] Vite using: `React`, `Vue`, `Svelte`## Simply run:
```bash
npx twinit
```## CLI Options
You can pass the following options to the CLI
```bash
npx twinit --skip-deps # this will skip deps and modify config files only
# or npx twinit -snpx twinit --only-deps # this will only install the deps
# or npx twinit -d
```