2.0.0-rc.2
http://jsfiddle.net/af3cq646/1/
var CUSTOM = Vue.component('custom',{name:'custom'});
console.log(new CUSTOM());
λ°μ΄μ¬λ¦°μ μ€ννκ³ μ½μμ μ½λ λ€.
κ²½κ³ λ° κ΅¬μ± μμκ° 'custom'μ΄λΌλ μ΄λ¦μΌλ‘ νμλμ§ μμ
κ²½κ³ " _ [Vue warn]: options "name" can only be used as a component definition option, not during instance creation
_"λ° κ΅¬μ± μμ μ΄λ¦μ " VueComponent
"μ
λλ€.
μ΄κ²μ νμΈν μ μκ³ , μ΄μ λ μ΄κ²μ λ°κ²¬νμ΅λλ€.
μ½μμ μ΄λ¦μ λ²μ 2.0.0-rc.3μμ μ¬μ ν "VueComponent"μ λλ€!?
2.0μ λ μ΄μ μμ±μ μ΄λ¦μ λ³κ²½νλ λ° new Function
λ₯Ό μ¬μ©νμ§ μμ΅λλ€ (μ΄λ μ 체 λ°νμ λΉλ CSP μ€μ). name
μ΅μ
μ λλ²κ·Έ λ©μμ§ λ° vue-devtools κ²μ¬μλ§ μν₯μμ€λλ€.