<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>结构渲染v-for</title>
</head>
<body>
    <div id="app">
        <ul>
            <li v-for="(item,index) in list">{{item}}-{{index}}</li>
        </ul>
    </div>

    <script src="../js/vue.js"></script>

    <script>
        let vm = new Vue({
            el:'#app',
            data:{
               list:['阳光','空气','水源','陆地']
            }
        });
    </script>
</body>
</html>