依赖包:vue2-scale-box
使用:
<scale-box :width="1920" :height="1080" bgc="transparent" :delay="100" :isFlat="true">
<router-view />
</scale-box>
<script>
import ScaleBox from 'vue2-scale-box'
export default {
components: { ScaleBox },
data() {
return {
}
},
methods: {
}
}
</script>