Skip to content

Commit

Permalink
fix(docs): updated to use defineBoot
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye64 committed Dec 18, 2024
1 parent a34d297 commit c1b80c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/src/pages/all-about-qmarkdown/installation-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,22 +89,22 @@ $ npm install @quasar/quasar-ui-qmarkdown
Then

```js
import { boot } from 'quasar/wrappers'
import { defineBoot } from 'quasar/wrappers'
import Plugin from '@quasar/quasar-ui-qmarkdown'
import '@quasar/quasar-ui-qmarkdown/dist/index.css'

export default boot(({ app }) => {
export default defineBoot(({ app }) => {
app.use(Plugin)
})
```

or from sources

```js
import { boot } from 'quasar/wrappers'
import { defineBoot } from 'quasar/wrappers'
import Plugin from '@quasar/quasar-ui-qmarkdown/src/QMarkdown.js'

export default boot(({ app }) => {
export default defineBoot(({ app }) => {
app.use(Plugin)
})
```
Expand Down

0 comments on commit c1b80c3

Please sign in to comment.