Implementing Angular Schematics using Angular + Tailwind CSS example

Implementing Angular Schematics using Angular + Tailwind CSS example

In this article, I am going to start with very basic Angular schematic implementation and slowly build the code for this complete angular-tailwindcss-schematics project. At each milestone, I will share the git commit link to check the code and files at that stage and also explaining the step. Implement Angular Schematic using Tailwind CSS example. Step by Step Git commit explanation.

Recently, I thought of giving  tailwindcss a try (after hearing and reading so much about this utility-first CSS framework). My plan was to use tailwindcss with  Angular. So I started looking for documents on how to integrate tailwindcss with Angular and found couple of good articles.

Going through these document, you will soon understand that integrating tailwindcss to Angular is not that straightforward (as in executing a single command) but involves a series of steps.

Luckily I also found this library that makes the integration really simple (yes, executing a single command!). This library uses  Angular schematics to automate this process.

Now just to understand better, first I followed the manual process and then also tried the schematics library (@ngneat/tailwind) to integrate tailwindcss to Angular. My primary goal was completed.

However, few months back, I had started learning about Schematics in Angular and like many other learning and side projects, I had abandoned it in favor of something else (do not remember exactly what for). I thought of resuming it back and this time not only learn the concepts but actually create a useful (but simple) Angular schematic.

As mentioned before in this article, I will not be going into explaining concepts related to Angular Schematics. Please refer  this and  this for detailed explanation. Going through these articles and reading more about Schematics, I would say

Schematics are all about code generation and changing of existing files!

angular tailwind css

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Install Angular - Angular Environment Setup Process

Install Angular in easy step by step process. Firstly Install Node.js & npm, then Install Angular CLI, Create workspace and Deploy your App.

Tailwind CSS tutorial

Start learning about Tailwind CSS with this guide which covers installing via a package manager, generating the configuration file, building a website and reducing the final CSS file.

Implementing Angular Schematics using Angular + Tailwind CSS example.

In this article, I am going to start with very basic Angular schematic implementation and slowly build the code for this complete angular-tailwindcss-schematics project. At each milestone, I will share the git commit link to check the code and files at that stage and also explaining the step. Implement Angular Schematic using Tailwind CSS example. Step by Step Git commit explanation.

Angular Sass: How To Use Sass In Angular 9 Tutorial

Sass in Angular is an extension of CSS that allows you to use things like variables, nested rules, inline imports. Angular supports Sass, CSS, and Less.

Popular Tailwind CSS Plugins and Extensions - Themesberg Blog

Check out this list of popular and open-source Tailwind CSS Plugins and Extensions to help you expand the features of the framework.