#can I use tailwind and customized
1 messages · Page 1 of 1 (latest)
Yes you can do that. Just import both css files
i m using customized bootstrap
So?
It should work assuming you set up scss correctly
No that @import tailwind wont work
Tailwind works based on postcss so you need to use the @tailwind directive
I have tried by keeping tailwind in global.css
then also not working
nextjs config /** @type {import('next').NextConfig} */
const path = require('path');
const nextConfig = {
sassOptions: {
includePaths: [path.join(__dirname, 'styles')],
},
}
module.exports = nextConfig
What is not working? Idk about sass but assuming you installed sass and set it up correctly, it should work
When I am trying to use bootsrap by commenting tailwind import
it is working fine
and when I am commenting bootstrap and using tailwind it also works fine
but together they don't
Did I made you a clear explanation?
@subtle skiff can you help
@proud field i can use tailwind and a scss file perfectly fine here https://github.com/joulev/debug/tree/nextjs-tailwind-with-sass-sintu deployment: https://debug-git-nextjs-tailwind-with-sass-sintu-joulev.vercel.app/
they work together perfectly
so idk what's wrong for your side
@subtle skiff it's working except for the navbar