Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nartc/tailwindcss-schematics

A schematic to add TailwindCSS to AngularCLI applications
https://github.com/nartc/tailwindcss-schematics

angular angular-cli schematics tailwindcss

Last synced: 3 months ago
JSON representation

A schematic to add TailwindCSS to AngularCLI applications

Awesome Lists containing this project

README

        

### This repo has been archived in favor of [ngneat/tailwind](https://github.com/ngneat/tailwind). The npm library `@nartc/tailwind-schematics` will no longer be maintained. Please refer to `ngneat/tailwind` for updates, usage documentations, and issues.

# Angular Tailwind CSS Schematics

This schematic will add [TailwindCSS](https://tailwindcss.com/) to your [Angular](https://angular.io) application.

## Usage

```
ng add @nartc/tailwind-schematics
```

## Usage with Nx

In Nx, you can either use `nx add` or `ng add` (same as above) to use the schematics.

```
nx add @nartc/tailwind-schematics
```

## Options
|name|type|default|description|
|----|----|-------|-----------|
|cssFlavor|string|css|The CSS flavor the project is using|

## Acknowledgement

- [Total Guide to Custom Angular Schematics](https://medium.com/@tomastrajan/total-guide-to-custom-angular-schematics-5c50cf90cdb4)
- [ng add Schematic](https://brianflove.com/2018-12-15/ng-add-schematic/)
- [@santosh](https://twitter.com/SantoshYadavDev) for quick and concise answers to my questions

## Contribution

Any contribution is welcome

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!