Skip to content

Commit

Permalink
docs: add mixin import example
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Feb 4, 2024
1 parent fb87cef commit a93d220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cookbook/import-panel-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default defineConfig({
})
```
Any part of your Panel plugin can now import from the Kirby Panel source. For example, let's import some props for a new Kirby field component:
Any part of your Panel plugin can now import from the Kirby Panel source. For example, let's import some props from the Kirby base field component. The Panel itself uses imports like `@/components/Forms/Field.vue` all the time. And you can do the same in your Vue component's `<script>` section:
```js
import { props as FieldProps } from '@/components/Forms/Field.vue'
Expand Down

0 comments on commit a93d220

Please # to comment.