Skip to content

Commit

Permalink
docs: readme update #322
Browse files Browse the repository at this point in the history
  • Loading branch information
adamberecz committed Mar 16, 2023
1 parent b192b63 commit e3ca5e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ Or on an instance level:

### Styling with Tailwind CSS

To use `Multiselect` with Tailwind CSS first you need to add background images to `tailwind.config.js`:
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`:

``` js
// tailwind.config.js
Expand Down Expand Up @@ -579,7 +579,9 @@ Then you need to import `themes/tailwind.css` to you main component:
</script>
<style>
@import 'path/to/node_modules/@vueform/multiselect/themes/tailwind.css'
@import '@vueform/multiselect/themes/tailwind.css';
/* or */
/* @import './path/to/node_modules/@vueform/multiselect/themes/tailwind.css'; */
</style>
```

Expand Down

1 comment on commit e3ca5e6

@willbrowningme
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small typo, it should be mini-svg-data-uri not mini-svg-data-url.

Please sign in to comment.