Split docs into multiple pages

This commit is contained in:
2022-07-24 18:28:09 +03:00
parent e0aef1da99
commit dce2d303ab
10 changed files with 313 additions and 283 deletions

31
docs/guide/index.md Normal file
View File

@@ -0,0 +1,31 @@
# Introduction
## Installation
```bash
npm install vue-three-d-mockup
```
## Simple usage example
<script setup>
import Mockup from '../../src/Mockup.vue'
import screenImage from '../assets/screen.png';
</script>
<Mockup
style="width: 100%; height: 400px;"
:screen="screenImage"
/>
`screen.png` is a static asset in the public folder.
```vue
<template>
<Mockup screen="screen.png" />
</template>
<script setup>
import Mockup from 'vue-three-d-mockup';
</script>
```