Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
Prefixed all the classes, to make whitelisting possible when using pu…
Browse files Browse the repository at this point in the history
…rgecss
  • Loading branch information
Neoglyph committed Jan 28, 2020
1 parent 6df8f26 commit f46e7cd
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 29 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ Vue.component('article-gallery', require('./../../../m24-gallery').default)

Inside your css or similar be sure to include the gallery css located at `node_modules/m24-gallery/dist/m24-gallery.min.css`

If you're using PurgeCSS be sure to whitelist the m24g- pattern inside the config, for example:

```javascript
whitelistPatterns: [
/^m24g-/
],
```

## Customization

You can customize the color of the arrows and borders via
Expand Down
2 changes: 1 addition & 1 deletion dist/m24-gallery.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f46e7cd

Please sign in to comment.