schlechtenburg/docs/examples.md

21 lines
528 B
Markdown
Raw Normal View History

2022-03-20 13:49:44 +00:00
<script setup>
2022-03-22 22:42:03 +00:00
import ExampleEditor from './ExampleEditor'
import ExampleStandaloneEditor from './ExampleStandaloneEditor'
2022-03-20 13:49:44 +00:00
</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>