# @garygrossgarten/ngx-tailwind

> Add tailwind to an Angular Workspace

Latest version **0.4.0** (published 2020-08-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @garygrossgarten/ngx-tailwind
pnpm add @garygrossgarten/ngx-tailwind
yarn add @garygrossgarten/ngx-tailwind
bun add @garygrossgarten/ngx-tailwind
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.0 |
| Published | 2020-08-17 |
| First published | 2020-06-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 540.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | garygrossgarten |
| Keywords | schematics |

## Links

- npm: https://www.npmjs.com/package/@garygrossgarten/ngx-tailwind
- npm.io page: https://npm.io/package/@garygrossgarten/ngx-tailwind

## Dependencies (3)

- [@schematics/angular](https://npm.io/package/@schematics/angular.md) ^8.1.0
- [@angular-devkit/core](https://npm.io/package/@angular-devkit/core.md) ^8.0.2
- [@angular-devkit/schematics](https://npm.io/package/@angular-devkit/schematics.md) ^8.0.2

## Alternatives

- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads
- [@oridune/validator](https://npm.io/package/@oridune/validator.md) — 16 weekly downloads

## Recent versions

- 0.4.0 (latest) — 2020-08-17
- 0.3.0 — 2020-08-17
- 0.2.0 — 2020-07-13
- 0.1.6 — 2020-06-16
- 0.1.5 — 2020-06-16
- 0.1.4 — 2020-06-16
- 0.1.3 — 2020-06-16

## README

# Add Tailwind CSS to your Angular project

[![npm version](https://badge.fury.io/js/%40garygrossgarten%2Fngx-tailwind.svg)](https://www.npmjs.com/package/@garygrossgarten/ngx-tailwind)

Simple [Angular](https://angular.io/) schematic that initializes [Tailwind CSS](https://tailwindcss.com/) in your project and adds a custom webpack config to your build process.

## Installation

Run

`ng add @garygrossgarten/ngx-tailwind`

or optionally

`ng add @garygrossgarten/ngx-tailwind --project <MY_PROJECT>`

## Additional options

You can pass additional flags to customize the schematic. For example, if you want to install a different version for **Tailwind** use `--tailwindVersion` flag:

```bash
ng add @garygrossgarten/ngx-tailwind --tailwindVersion 1.6.2
```

All available flags:

| Flag                |  Description                                 | Type      |  Default                  |
| ------------------- | -------------------------------------------- | --------- | ------------------------- |
|  `project`          | The project to initialize with Tailwind CSS. | `string`  | **First** Angular project |
|  `skipTailwindInit` | Skip initializing Tailwind.                  | `boolean` | `false`                   |
|  `tailwindVersion`  | The Tailwind version to be installed.        | `string`  | `latest`                  |

## Developing

Install `@angular-devkit/schematics-cli` to be able to use `schematics` command

```bash
npm i -g @angular-devkit/schematics-cli
```

Now build the schematics and run the schematic.

```bash
npm run build
# or
npm run build:watch

# dry-run in angular-workspace
npm run start:dev

# execute schematics in angular-workspace
npm run start
```

---
_Source: https://npm.io/package/@garygrossgarten/ngx-tailwind · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
