EmanueleDB
EmanueleDB
NNuxt
Created by EmanueleDB on 3/14/2025 in #❓・help
Nuxt UI 2.21.1 migration to v 3.0.0
I'm trying to migrate Nuxt Ui from version 2.21.1 to version 3.0.0, but I get some errors. I'm running Nuxt 3.16 and my current implementation is /app/assets/css/tailwind.css
@tailwind base;
@tailwind components;
@tailwind utilities;

body {
@apply font-montserrat;
}

/*Fonts*/

@layer utilities {
.font-montserrat {
font-family: Montserrat, sans-serif;
}
}
@layer utilities {
.font-inconsolata {
font-family: Inconsolata, monospace;
}
}

/*Typography*/

@layer base {
h1 {
@apply text-xl font-semibold lg:text-3xl;
}
h2 {
@apply text-lg font-semibold lg:text-2xl;
}
h3 {
@apply text-base font-semibold lg:text-xl;
}
h4 {
@apply text-sm font-semibold lg:text-lg;
}
p {
@apply text-sm font-normal lg:text-base;
}
}
@tailwind base;
@tailwind components;
@tailwind utilities;

body {
@apply font-montserrat;
}

/*Fonts*/

@layer utilities {
.font-montserrat {
font-family: Montserrat, sans-serif;
}
}
@layer utilities {
.font-inconsolata {
font-family: Inconsolata, monospace;
}
}

/*Typography*/

@layer base {
h1 {
@apply text-xl font-semibold lg:text-3xl;
}
h2 {
@apply text-lg font-semibold lg:text-2xl;
}
h3 {
@apply text-base font-semibold lg:text-xl;
}
h4 {
@apply text-sm font-semibold lg:text-lg;
}
p {
@apply text-sm font-normal lg:text-base;
}
}
89 replies
NNuxt
Created by EmanueleDB on 4/5/2024 in #❓・help
script-src console errors after updating dependencies
No description
2 replies