Utility first CSS framework
Responsive first
Component friendly
Customizable
Tailwind has a CLI tool to process CSS
Or add it to your webpack config
But what if you use Angular CLI?...
Modify angular.json to use a custom webpack builder
"builder": "@angular-builders/custom-webpack:browser",
"serve": {
"builder": "@angular-builders/custom-webpack:dev-server",
"options": {
"customWebpackConfig": {
"path": "webpack.config.js"
}
},
},
Let Angular CLI do the heavy lifting
Just handle the Tailwind CSS part
module.exports = {
module : {
rules: [
{
test : /tailwind\.scss$/,
loader : 'postcss-loader',
options: {
plugins: () => [
require('tailwindcss')('./tailwind.config.js'),
require('autoprefixer'),
]
}
}
]
}
};
Use the schematics Angular Material team provides
ng add @angular/material
You now have the power of both Tailwind CSS and Material.