Code address
https://github.com/wohuifude1.
Favlist.vue
<template>
<div v-for="n in 10"></div>
</template>
<script>
export default {
data () {
return {
msg: "Hello World!"
}
}
}
</script>
<style>
html{
background: red;
}
</style>