schlechtenburg/packages/docs/lib/guide/examples.md

21 lines
546 B
Markdown
Raw Normal View History

2022-03-20 13:49:44 +00:00
<script setup>
import ExampleEditor from '../ExampleEditor'
import ExampleStandaloneEditor from '../ExampleStandaloneEditor'
</script>
# Examples
## Vue Component without wrapper
This documentation website already uses Vue under the hood, so Schlechtenburg can just imported as
any other component:
<ExampleEditor></ExampleEditor>
## Wrapped with Vue
`@schlechtenburg/standalone` gives you a wrapped version of the editor in case you don't have Vue
already installed in your application
<ExampleStandaloneEditor></ExampleStandaloneEditor>