SOURCE

console 命令行工具 X clear

                    
>
console
var vu = {};
$(function () {
    new Vue({
        el: '#app',
        data() {
            return{
            }
        },
        created() { vu = this; },
        mounted() {
            
        },
        methods: {
        }
    })
});
<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title>title</title>
</head>

<body class="cantSelect">
	<div id="app" class="app" v-cloak>
        <div class="content">
            <div class="card"></div>
        </div>
	</div>
</body>

</html>
/* vue加载 */
[v-cloak] { display: none !important;}
/* 消除所有元素基础默认边距 */
*{margin: 0;}
/* 禁止复制选中 */
.cantSelect{
    -moz-user-select:none; /* Firefox私有属性 */
    -webkit-user-select:none; /* WebKit内核私有属性 */
    -ms-user-select:none; /* IE私有属性(IE10及以后) */
    -khtml-user-select:none; /* KHTML内核私有属性 */
    -o-user-select:none; /* Opera私有属性 */
    user-select:none; /* CSS3属性 */
}
/* 文档根元素宽高100% */
html,body{height: 100%;width: 100%;}
/* ================================================= */
/* root->app */
.app{
	height: 100%;
	width: 100%;
	background-color: white;
}
/* app->content */
.app>.content{
	position: relative;
	height: 100%;
	width: 100%;
	background-color: rgb(80, 80, 80);


}



.card{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);

    width: 50px;
    height: 50px;
    background-color: rgb(255, 255, 255);
}

本项目引用的自定义外部资源