Updated README.md

This commit is contained in:
2022-01-29 15:49:10 +03:00
parent 6be2cbfc2d
commit a85a7eda4a
2 changed files with 26 additions and 0 deletions

View File

@@ -1,3 +1,28 @@
# vue-three-d-mockup
Check out the [demo](https://anatolykopyl.github.io/vue-three-d-mockup/)
## Usage
```html
<Mockup
screenImg="screen.png"
lightClr="hsl(0, 100%, 100%)"
/>
```
```js
<script>
import Mockup from 'vue-tree-d-mockup'
export default {
components: {
Mockup
}
}
</script>
```
### props:
- `screenImg`: path to image that will be displayed on the phones screen
- `lightClr`: color of the light in the environment