Passing props to Vue.js components instantiated by Vue-router

前端 未结 6 1088
日久生厌
日久生厌 2020-11-29 04:15

Suppose I have a Vue.js component like this:

var Bar = Vue.extend({
    props: [\'my-props\'],
    template: \'

This is bar!

\' });
<
6条回答
提交回复
热议问题