SOURCE

console 命令行工具 X clear

                    
>
console
c = {

    template: `<div>{{val}} {{typeVal}}</div>`,
    props: ['val'],
    computed:{
        typeVal(){
            return typeof this.val
        }
    }


}
Vue.component('c', c)
new Vue({
    el:'#app',

})
<div id="app">
    <c val="1"></c>
    <c :val="2"></c>
    <c :val="'3'"></c>
</div>

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