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 # vue-three-d-mockup
Check out the [demo](https://anatolykopyl.github.io/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

View File

@@ -3,6 +3,7 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"author": "Anatoly Kopyl <akopyl@radner.ru>", "author": "Anatoly Kopyl <akopyl@radner.ru>",
"license": "GPL-3.0",
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"build": "vue-cli-service build", "build": "vue-cli-service build",