这种形式的注册形式,能不能定义css的,文档和api找了几圈了没发现。
Vue.component('my-component', { template: '<p>A custom component!</p>' })
闭关修行中......
不能写,因为这个没人会替你编译好
单独.vue文件可以写是因为有loader帮你编译好
应该不能写哦!
不能写,因为这个没人会替你编译好
单独.vue文件可以写是因为有loader帮你编译好
应该不能写哦!