Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Plugin must be imported as named export, aliased to match example name.
  • Loading branch information
Josh68 authored Mar 6, 2025
1 parent 26e9710 commit 7aa8928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ npm i -D vite-plugin-markdown@vite-1
### Config

```js
import mdPlugin from 'vite-plugin-markdown'
import { plugin as mdPlugin } from 'vite-plugin-markdown'

module.exports = {
plugins: [mdPlugin(options)]
Expand Down

0 comments on commit 7aa8928

Please sign in to comment.