Skip to content
On this page

Screen image from assets folder

In Vite powered projects

<template>
  <Mockup :screen="screenImage" />
</template>

<script setup>
import Mockup from 'vue-three-d-mockup';
import screenImage from './assets/screen.png';
</script>

In Vue CLI powered projects

<template>
  <Mockup :screen="require('./assets/screen.png')" />
</template>

<script setup>
import Mockup from 'vue-three-d-mockup';
</script>

Released under the GPL-3.0 license.