<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="../../lib/vue.js"></script>
    <title>vue test</title>
</head>
<body>
    <div id="app">
        {{ message }}
        <span id="test-1">message-2:{{getMemo}}</span>
    </div>
    <text></text>
</body>
<script>
    import text from './Text'
    export default {
        data(){
            return {
                a:1,
                b:2
            }
        },
        created(){
            console.log(this)
        },
        computed:{
            getMemo(){
                return `this is query params ${this.message}`
            }
        },
        components: {
            text
        },
    }
</script>
</html>