Skip to content

alyssamichelle/tailwindcss-angular-getting-started

Repository files navigation

TailwindcssAngularGettingStarted

To ensure you have everything you need to get started quickly in the workshop, clone down this repo and get it running locally.

> git clone git@github.com:alyssamichelle/tailwindcss-angular-getting-started.git

> npm install

> ng serve

You should see the app running at http://localhost:4200/. To ensure Tailwind CSS is installed and running, the background should be purple.

=^..^= =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= =^..^=

If you get stuck with install, DM on twitter I will help you get going beforehand!

Before

image

After Our Exercise

image

VS Code Tailwind CSS Extension

I highly recommed using Visual Studio Code as your editor (just for development in general) and downloading the Tailwind CSS Extension. This will give you suggestions for classes (so helpful) and even show you what is being generated for each Tailwind CSS Class on hover: image image

Development server

This project was generated with Angular CLI version 13.3.5. Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

About

Example demonstrating the use of Tailwind CSS in an Angular application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published