mirror of
https://github.com/versia-pub/frontend.git
synced 2026-06-14 07:29:15 +02:00
refactor: ⬆️ Upgrade to Tailwind v4
This commit is contained in:
parent
14d283c7a8
commit
b6080eff60
160 changed files with 1187 additions and 1178 deletions
|
|
@ -1,7 +1,8 @@
|
|||
import tailwindcss from "@tailwindcss/vite";
|
||||
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
modules: [
|
||||
"@nuxtjs/tailwindcss",
|
||||
"@vueuse/nuxt",
|
||||
"@nuxt/fonts",
|
||||
"nuxt-security",
|
||||
|
|
@ -13,10 +14,8 @@ export default defineNuxtConfig({
|
|||
components: {
|
||||
dirs: [],
|
||||
},
|
||||
tailwindcss: {
|
||||
// Don't inject the default @tailwind utilities CSS
|
||||
// To avoid conflicts with our own styles
|
||||
cssPath: false,
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
},
|
||||
future: {
|
||||
compatibilityVersion: 4,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue