import AdmVue from "@assets/js/adm-vue";

const vm = new AdmVue({
    data(){
        return{
            updateComponent: 0
        }
    },
    components:{
        BaseContent: () => import(/* webpackChunkName: "BaseContent" */ '@elements/BaseContent/index.vue'),
    },
    methods:{
        handleRating(rating){
            this.rating = rating;
            this.updateComponent += 1;
        }
    },
    mounted(){
        if(this.error_text){
            notificationMsg("Alguns campos estão incorretos. Corrija os campos em vermelho.", "error")
        }
    }
})

AdmVue.init(vm);