Django
- 1 ответ
- 0 вопросов
1
Вклад в тег
import Vue from 'vue'
import store from './store'
Vue.component('productList', {
template: '<span> msg: {{msg}}</span>',
props: ['msg']
});
var app = new Vue({
el: '#app',
store,
})
<div id="app">
<product-list msg="message"></product-list>
</div>