SOURCE

console 命令行工具 X clear

                    
>
console
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=, initial-scale=">
	<meta http-equiv="X-UA-Compatible" content="">
	<title>Vue模板</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.2.36/vue.global.min.js"></script>
</head>
<body>
	<div id="App">
        <span v-if="seen">现在看到我2了</span>
        <ul>
            <li v-for="item in todos">{{item.text}}1</li>
        </ul>
    </div>
    <script>
        const Counter =  {
            data () {
                return {
                    seen: true,
                    todos: [
                        {text: 'apple'},
                        {text: 'mac'},
                        {text: 'iphone'},
                    ]
                }
            },
         
        }

        Vue.createApp(Counter).mount('#App')
    </script>
</body>
</html>