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

21 lines
530 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
2022-03-21 00:53:25 +00:00
## As a View Component
2022-03-20 13:49:44 +00:00
This documentation website already uses Vue under the hood, so Schlechtenburg can just imported as
any other component:
<ExampleEditor></ExampleEditor>
2022-03-21 00:53:25 +00:00
## Standalone
2022-03-20 13:49:44 +00:00
`@schlechtenburg/standalone` gives you a wrapped version of the editor in case you don't have Vue
already installed in your application
<ExampleStandaloneEditor></ExampleStandaloneEditor>