Skip to content

Commit ec1de2d

Browse files
committed
feat: switch tailwind install to v4
1 parent 43948eb commit ec1de2d

File tree

4 files changed

+6
-25
lines changed

4 files changed

+6
-25
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "leafs/cli",
33
"description": "A simple command line tool for installing and interacting with your leaf apps",
44
"homepage": "https://cli.leafphp.dev",
5-
"version": "v2.14",
5+
"version": "v2.15",
66
"keywords": [
77
"leaf",
88
"php",

src/themes/tailwind/root/postcss.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/themes/tailwind/root/tailwind.config.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/themes/tailwind/root/vite.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
import { defineConfig } from 'vite';
2-
import leaf from '@leafphp/vite-plugin';
1+
import { defineConfig } from "vite";
2+
import leaf from "@leafphp/vite-plugin";
3+
import tailwindcss from "@tailwindcss/vite";
34

45
export default defineConfig({
56
plugins: [
7+
tailwindcss(),
68
leaf({
7-
input: ['js/app.js', 'css/app.css'],
9+
input: ["js/app.js", "css/app.css"],
810
refresh: true,
911
}),
1012
],

0 commit comments

Comments
 (0)