Skip to content

Commit 191df6b

Browse files
committedFeb 15, 2024
first commit
1 parent ec40bd9 commit 191df6b

6 files changed

+406
-317
lines changed
 

‎README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TailwindNavbar
22

3-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.2.0.
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.2.0. Be sure to run `npm install` after cloning.
44

55
## Development server
66

@@ -25,3 +25,5 @@ Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To u
2525
## Further help
2626

2727
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
28+
29+
This repository is based on [Creating a Navbar with Angular 17 and Tailwind CSS](https://blog.javascripttoday.com/blog/creating-a-navbar-with-angular-and-tailwind-css/) by Sarthak Pokharel.

‎package-lock.json

+368
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,15 @@
3333
"@types/express": "^4.17.17",
3434
"@types/jasmine": "~5.1.0",
3535
"@types/node": "^18.18.0",
36+
"autoprefixer": "^10.4.17",
3637
"jasmine-core": "~5.1.0",
3738
"karma": "~6.4.0",
3839
"karma-chrome-launcher": "~3.2.0",
3940
"karma-coverage": "~2.2.0",
4041
"karma-jasmine": "~5.1.0",
4142
"karma-jasmine-html-reporter": "~2.1.0",
43+
"postcss": "^8.4.35",
44+
"tailwindcss": "^3.4.1",
4245
"typescript": "~5.3.2"
4346
}
44-
}
47+
}

‎src/app/app.component.html

+17-315
Large diffs are not rendered by default.

‎src/styles.css

+3
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
/* You can add global styles to this file, and also import other style files */
2+
@import "tailwindcss/base";
3+
@import "tailwindcss/components";
4+
@import "tailwindcss/utilities";

‎tailwind.config.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/** @type {import('tailwindcss').Config} */
2+
module.exports = {
3+
content: [
4+
"./src/**/*.{html,ts}"
5+
],
6+
theme: {
7+
extend: {},
8+
},
9+
plugins: [],
10+
}
11+

0 commit comments

Comments
 (0)
Please sign in to comment.