Skip to content

Commit a5af731

Browse files
committed
prepare for Tailwind CSS v4 upgrade
1 parent dc30c09 commit a5af731

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

playgrounds/react/pages/_app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Link from 'next/link'
22
import { useEffect, useState } from 'react'
33

44
import { useRouter } from 'next/router'
5-
import 'tailwindcss/tailwind.css'
5+
import './styles.css'
66

77
function disposables() {
88
let disposables: Function[] = []

playgrounds/react/pages/styles.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;

playgrounds/vue/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import { createApp } from 'vue'
33
import App from './App.vue'
44
import router from './router'
55

6-
import 'tailwindcss/tailwind.css'
6+
import './styles.css'
77

88
createApp(App).use(router).mount('#app')

playgrounds/vue/src/styles.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;

0 commit comments

Comments
 (0)