LESSON 10 css set up issues--> not working #1279
-
Hi I have followed the setup guide from the official CSS tailwind getting started with nextJS, however, after the setup, nothing works here is the code and the result: export default function Header() {
return (
<div className="border-b-2">
<ConnectButton moralisAuth={false} />
</div>
)
} below are my configs + setups: module.exports = {
content: ["./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {},
},
plugins: [],
} postcssconfig: module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
} global.css: @tailwind base;
@tailwind components;
@tailwind utilities; here is a link to my repo link: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I made a PR -- merge it to your GitHub repo; then, git pull to your local repo. This should fix it. Cheers |
Beta Was this translation helpful? Give feedback.
-
Hi Alex, I had the same issue as you. For me deleting the .next folder and then running "yarn dev" did the trick. Could you please try that? Cheers |
Beta Was this translation helpful? Give feedback.
I made a PR -- merge it to your GitHub repo; then, git pull to your local repo.
This should fix it. Cheers