Skip to content
Discussion options

You must be logged in to vote

Try updating next by running (will also need to install sass explicitly`

npm i next@14 sass

You should then at least see the Tailwind class being generated:

Then, to actually get things working, I would drop Sass completely and move everything into one CSS file:

diff --git a/src/app/globals.css b/src/app/globals.css
index f1d8c73..404fde6 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -1 +1,24 @@
 @import "tailwindcss";
+@import 'bootstrap/dist/css/bootstrap.css' layer(components);
+
+@layer base {
+  :root {
+    height: 100%;
+    width: 100%;
+  }
+
+  html,
+  body {
+    height: 100%;
+    width: 100%;
+  }
+}
+
+@layer components {
+  .btn-primary {
+    background-c…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@abhinav-goel-11
Comment options

@rozsazoltan
Comment options

@abhinav-goel-11
Comment options

@wongjn
Comment options

wongjn Sep 16, 2025
Collaborator

Answer selected by abhinav-goel-11
@abhinav-goel-11
Comment options

@wongjn
Comment options

wongjn Sep 17, 2025
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants