mirror of
https://github.com/anatolykopyl/vue-three-d-mockup.git
synced 2026-03-26 12:55:08 +00:00
Split docs into multiple pages
This commit is contained in:
31
docs/guide/index.md
Normal file
31
docs/guide/index.md
Normal 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>
|
||||
```
|
||||
Reference in New Issue
Block a user