This commit is contained in:
timothypidashev
2021-07-15 04:19:15 +00:00
parent 2c256b62e1
commit b16dd09fbd
3 changed files with 19 additions and 5 deletions

14
components/Background.vue Normal file
View File

@@ -0,0 +1,14 @@
<template>
<div>
<div class="backgroundImage" :style="{ backgroundImage: `url(${backgroundImagePath})` }">
</div>
</template>
<script>
import backgroundImagePath from '~/assets/background.jpg'
export default {
data() {
return { backgroundImagePath }
}
}
</script>