Skip to content

Commit

Permalink
Added MIGRATION notes for MAJOR change
Browse files Browse the repository at this point in the history
  • Loading branch information
lancegliser committed Jul 17, 2024
1 parent 5e87909 commit a28ef15
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Migration guide

## 2.x

Flowbite updates 0.7 - 0.10

`tailwind.config.js` content path:

old: "node\*modules/flowbite-react/lib/esm/\*\*/\_.js"

new: "node\*modules/flowbite-react/dist/esm/\*\*/\_.mjs" - Please use (`flowbite.content()`)

```js
const flowbite = require("flowbite-react/tailwind");

/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
// ...
flowbite.content(),
],
plugins: [
// ...
flowbite.plugin(),
],
};
```

## 1.x Feature Attributes updated to include Infer params

This breaking change modifies the data structures for FeatureAttributes.
Expand Down

0 comments on commit a28ef15

Please sign in to comment.