Welcome to this free course for learning how to create an enterprise Angular project from scratch by using only Standalone Components.
The Tailwind doc page does a really great job at describing how to setup your project. Let’s see all the required steps to successfully add Tailwind to our Angular Project.
Install all the required dependencies:
Then initialize Tailwind:
pnpm dlx
will download tailwindcss
and execute the init command.
Configure tailwind.config.js
:
Import Tailwind by modifying styles.scss
:
And we’re done!
You can now use all the cool features offered by Tailwind in your Angular project.
In the next chapter, we’ll see how to create our first Standalone Directive for the UI package.