Skip to content

Commit

Permalink
Add tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
Abildtoft committed Nov 16, 2023
1 parent 2137452 commit 5fd163b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"@ionic/angular": "^7.5.0",
"ionicons": "^7.2.1",
"rxjs": "~7.8.0",
"tailwindcss": "^3.3.5",
"tslib": "^2.3.0",
"zone.js": "~0.14.2"
},
Expand Down
4 changes: 4 additions & 0 deletions src/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
* https://ionicframework.com/docs/layout/global-stylesheets
*/

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Core CSS required for Ionic components to work properly */
@import '@ionic/angular/css/core.css';

Expand Down
12 changes: 12 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{html,ts}",
],
theme: {
extend: {},
},
plugins: [],
prefix: "tw-",
}

0 comments on commit 5fd163b

Please sign in to comment.