Angular 11 with Tailwindcss 2.0
This project is the full implementation of this article, which demonstrates the integration of Tailwindcss 2.0 with Angular 11 app. To run this repo properly on your local machine, please read the following steps.
Pre-requisites
Before proceeding, make sure you have the following installed in your operating system:
- Node.js
v12.13.0
or higher (as part of Tailwindcss v2.0 requirements) - Angular CLI
v11
Running the project locally
- Clone the project.
- Run
npm install
within the project directory. - Run
ng serve
. - Open your browser.
References
- Ngx-build-plus repository: https://github.com/manfredsteyer/ngx-build-plus
- Angular 10 with Tailwind CSS by notiz.dev: https://notiz.dev/blog/angular-10-with-tailwindcss
- Tailwindcss official documentation: https://tailwindcss.com/docs/installation
- Fix VSCode CSS linting errors: https://stackoverflow.com/questions/62118325/how-do-you-get-rid-of-these-sass-linting-errors-when-using-tailwind-css