Skip to content

Is Tailwind / Bootstrap Css supported in faust js projects. If yes how can we setup it? #731

Answered by theodesp
Anurag931999 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Anurag931999 of course you can integrate both tailwind or bootstrap.

For tailwind.css you just have to use the following tutorial guide:
https://tailwindcss.com/docs/guides/nextjs

For bootstrap you just have to require bootstrap:

npm install bootstrap

Then import it inside the _app.tsx file:

// add bootstrap css 
useEffect(() => {
    import("bootstrap/dist/js/bootstrap");
}, []);

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by josephfusco
Comment options

You must be logged in to vote
1 reply
@alsherif-khalaf
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants