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.
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
- Clone the project.
- Run
npm install
within the project directory. - Run
ng serve
. - Open your browser.
- 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