mirror of
https://github.com/anatolykopyl/vue-three-d-mockup.git
synced 2026-03-26 12:55:08 +00:00
Updated README.md
This commit is contained in:
25
README.md
25
README.md
@@ -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
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"author": "Anatoly Kopyl <akopyl@radner.ru>",
|
||||
"license": "GPL-3.0",
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
|
||||
Reference in New Issue
Block a user