Closed MuttakinHasib closed 2 months ago
According to version 0.8.0
changelog and breaking changes, u have to do the following:
tailwind.config.js
using the flowbite-react/tailwind
proxyflowbite
package can be removed (optional)Refs:
0.8.0
Release changelog
@SutuSebastian Do I need to pass the base to the plugin also?
flowbite.plugin({ base: '../../' })
@SutuSebastian Do I need to pass the base to the plugin also?
flowbite.plugin({ base: '../../' })
I gave u a functional example, since I cloned it myself for testing.
Reason of base
option: node_modules
folder is located two levels higher than where tailwind.config.js
lives, hence the '../../'
.
Note: base
option is only for flowbite.content()
function
Need TS support here. it's not giving any suggestions.
btw, Thanks @SutuSebastian :heart:
Need TS support here. it's not giving any suggestions.
btw, Thanks @SutuSebastian ❤️
TS support/intellisense is only available within *.mjs
or .ts(x)
files, see below in a tailwind.config.mjs
file:
@SutuSebastian Thanks :heart:
Hey @SutuSebastian
I am trying to setup Flowbite with NextJs on Nx Monorepo, but it's not working. Can you please take a look?
Here is the codesandbox link: nx-nextjs-flowbite