Skip to content

Commit

Permalink
README update
Browse files Browse the repository at this point in the history
  • Loading branch information
smolenski-mikolaj committed Apr 11, 2023
1 parent ca31f29 commit 12110d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -680,13 +680,14 @@ module.exports = {
"./node_modules/tw-elements/dist/js/**/*.js",
],
plugins: [require("tw-elements/dist/plugin")],
darkMode: "class",
};
```

4. Dynamic components will work after adding the js file:

```
<script src="./TW-ELEMENTS-PATH/dist/js/index.min.js"></script>
<script src="./TW-ELEMENTS-PATH/dist/js/tw-elements.umd.min.js"></script>
```

Alternatively, you can import it in the following way (bundler version):
Expand Down

0 comments on commit 12110d1

Please sign in to comment.