Comments (6)
Need TS support here. it's not giving any suggestions.
btw, Thanks @SutuSebastian ❤️
from flowbite-react.
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:
from flowbite-react.
@SutuSebastian Thanks ❤️
from flowbite-react.
According to version 0.8.0
changelog and breaking changes, u have to do the following:
- correctly configure
tailwind.config.js
using theflowbite-react/tailwind
proxy
flowbite
package can be removed (optional)
Refs:
0.8.0
Release changelog
from flowbite-react.
@SutuSebastian Do I need to pass the base to the plugin also?
flowbite.plugin({ base: '../../' })
from flowbite-react.
@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
from flowbite-react.
Related Issues (20)
- ERR_UNSUPPORTED_DIR_IMPORT when building a project HOT 5
- Module '"flowbite-react"' has no exported member 'Flowbite'. HOT 4
- Global theme is not applied after Next.js Fast Refresh HOT 4
- flowbite-react installation error issue with v0.7.6 HOT 10
- DropDown header interaction inconsistent for input and TextInput vs other controls. HOT 2
- Remix Dev not running with flowbite-react 0.7.8 HOT 5
- Date-rangepicker option for the datepicker in flowbite-react. HOT 1
- Tab.Item onClick is full outlined.
- bug: Datepicker always displays below input field
- Theme sync may cause render loops across different browser tabs HOT 3
- Sidebar.Item does not show correct active background color HOT 1
- Feature request: friendly version of Floating as a new component. HOT 1
- react-icons v5 (required by ui/package.json) is not type compatible with icon prop in components like Alert HOT 1
- Toggle switch UI not showing properly. HOT 8
- Select a Month, Year Change is not working.
- <Modal.Overlay> || <Modal.Base>
- Datepicker is not allowing clearing date
- Some component (at least my spinner and button) are broken after upgrade to 0.9.0 and 0.8.0 from 0.7.3 HOT 1
- Avatar should render dummy svg when provided with render function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flowbite-react.