mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 19:13:51 +00:00
update
This commit is contained in:
14
components/Background.vue
Normal file
14
components/Background.vue
Normal 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>
|
||||
Reference in New Issue
Block a user