Files
vue-three-d-mockup/README.md
2022-01-29 19:19:24 +03:00

523 B

vue-three-d-mockup

Check out the demo

Installation

$ npm install github:anatolykopyl/vue-three-d-mockup

Usage

<Mockup 
  screenImg="screen.png"
  lightClr="hsl(0, 100%, 100%)"
/>
<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