<template>
    <div>
        <img src="../assets/images/logo.png"/>
        <h1>BGG神教，一统江湖1111112221</h1>
        <button @click='clickFun'>访问蓝景</button>
        <video src="../assets/media/80s.mp4" autoplay></video>
        <router-view></router-view>
    </div>
</template>

<script>
    export default {
        methods:{
            clickFun(){
                window.location.href='./page2.html'
            }
        },
        created(){
            console.log("created");
        }
    }
</script>

<style lang='scss'>
.bggtest{
    color:red
}
</style>