tailwindcss-setup-examples icon indicating copy to clipboard operation
tailwindcss-setup-examples copied to clipboard

Add Angular

Open tunecino opened this issue 5 years ago • 9 comments

tunecino avatar Aug 15 '19 15:08 tunecino

Nice! Just did this myself with Angular 8 before I saw your PR. Came down to the same thing actually 👍

DeluxZ avatar Sep 04 '19 12:09 DeluxZ

Ping @adamwathan @tunecino

DeluxZ avatar Sep 17 '19 07:09 DeluxZ

Works also great with Angular 9 👍

marcjulian avatar Mar 20 '20 13:03 marcjulian

could we merge this PR?

antonellopasella avatar May 15 '20 09:05 antonellopasella

Should this also update the setup-examples/README.md to mention the example for Angular?

pablokvitca avatar Jun 04 '20 13:06 pablokvitca

Keep in mind that Angular is already at v10 but the config setup still applies :)

KingDarBoja avatar Jul 14 '20 03:07 KingDarBoja

This works for Angular 10, using version ~~10.0.0-beta.1~~ 10.0.0 of @angular-builders/custom-webpack.

Edit: v10.0.0 was just released.

royvanv avatar Jul 20 '20 13:07 royvanv

Quick notice: There is a package that helps setting up Tailwind + Angular very quickly called ng-tailwind. Would be good to put a note about it at the start :)

KingDarBoja avatar Aug 17 '20 17:08 KingDarBoja

Quick notice: There is a package that helps setting up Tailwind + Angular very quickly called ng-tailwind. Would be good to put a note about it at the start :)

⚠️ WARNING

you should use this Schematics https://github.com/ngneat/tailwind. Up to date with the latest postcss-loader (v4.x.x)

or add postcssOptions in webpack.config.js

daboudii avatar Sep 14 '20 13:09 daboudii