Skip to content

Commit e3ca5e6

Browse files
committed
docs: readme update #322
1 parent b192b63 commit e3ca5e6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ Or on an instance level:
539539

540540
### Styling with Tailwind CSS
541541

542-
To use `Multiselect` with Tailwind CSS first you need to add background images to `tailwind.config.js`:
542+
To use `Multiselect` with Tailwind CSS first you need install `npm i -D mini-svg-data-url` and add background images to `tailwind.config.js`:
543543

544544
``` js
545545
// tailwind.config.js
@@ -579,7 +579,9 @@ Then you need to import `themes/tailwind.css` to you main component:
579579
</script>
580580
581581
<style>
582-
@import 'path/to/node_modules/@vueform/multiselect/themes/tailwind.css'
582+
@import '@vueform/multiselect/themes/tailwind.css';
583+
/* or */
584+
/* @import './path/to/node_modules/@vueform/multiselect/themes/tailwind.css'; */
583585
</style>
584586
```
585587

0 commit comments

Comments
 (0)