這意味着當你使用DOM 中的模板時,camelCase (駝峯命名法) 的prop 名需要使用其等價的kebab-case (短橫線分隔命名) 命名: Vue.component('blog-post' ...
確定! 回上一頁