🚧 Site > Add file
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<template src="./template.html"></template>
|
||||
<script src="./script.js"></script>
|
||||
<style src="./style.styl" lang="stylus" scoped></style>
|
||||
@@ -0,0 +1,16 @@
|
||||
import Version from '@/components/version'
|
||||
|
||||
export default
|
||||
{
|
||||
name: 'versions',
|
||||
|
||||
components:
|
||||
{
|
||||
Version
|
||||
},
|
||||
|
||||
props:
|
||||
{
|
||||
content: { type: Array }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
.versions
|
||||
position absolute
|
||||
top 30px
|
||||
left 0
|
||||
width 25%
|
||||
height 100%
|
||||
background rgba(255, 0, 0, 0.3)
|
||||
@@ -0,0 +1,3 @@
|
||||
<div class="versions">
|
||||
<version v-for="version of content" :content="version"></version>
|
||||
</div>
|
||||
Reference in New Issue
Block a user