Skip to content

Commit

Permalink
🔧 Configure PostCSS and Tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Dec 19, 2023
1 parent d086b0f commit 39a656e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
7 changes: 7 additions & 0 deletions postcss.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
plugins: {
'tailwindcss/nesting': {},
tailwindcss: {},
autoprefixer: {},
},
}
3 changes: 3 additions & 0 deletions resources/css/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
14 changes: 14 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/** @type {import('tailwindcss').Config} */

module.exports = {
content: [
'./app/**/*.php',
'./config/**/*.php',
'./resources/**/*.{php,js}',
'./storage/framework/views/*.php',
],
theme: {
extend: {},
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
}

0 comments on commit 39a656e

Please sign in to comment.