Added Support for TailwindCSS

This commit is contained in:
Jan_Hill 2024-12-19 07:14:47 +01:00
parent dc04959a56
commit 9233b5ea1b
5 changed files with 3151 additions and 19 deletions

3125
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -9,9 +9,10 @@
"autoprefixer": "^10.4.20",
"axios": "^1.7.4",
"concurrently": "^9.0.1",
"flowbite": "^2.5.2",
"laravel-vite-plugin": "^1.0",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.13",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"vite": "^6.0"
}
}

View File

@ -1 +1 @@
import './bootstrap';
import 'flowbite';

View File

@ -1 +1,12 @@
<!DOCTYPE html>
<html lang="en" class="bg-slate-900">
<head>
@vite(['resources/css/app.css','resources/js/app.js'])
<title>NCORE - Authentication</title>
</head>
<body>
</body>
</html>

View File

@ -1,20 +1,15 @@
import defaultTheme from 'tailwindcss/defaultTheme';
/** @type {import('tailwindcss').Config} */
export default {
module.exports = {
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./storage/framework/views/*.php',
'./resources/**/*.blade.php',
'./resources/**/*.js',
'./resources/**/*.vue',
"./resources/**/*.blade.php",
"./resources/**/*.js",
"./resources/**/*.vue",
"./node_modules/flowbite/**/*.js"
],
theme: {
extend: {
fontFamily: {
sans: ['Figtree', ...defaultTheme.fontFamily.sans],
extend: {},
},
},
},
plugins: [],
};
plugins: [
require('flowbite/plugin')
],
darkMode: 'class',
}