const copyrightComponent = {
template:`
`,
setup(props, context) {
console.log('copyright组件加载完毕');
console.log(props);
},
props:{
path:'',
web_name:'',
}, //配置需要传入的属性
delimiters: ['{[', ']}'],//delimiters:改变默认的插值符号
};
const footbuttonComponent = {
template: `
`,
setup(props, context) {
console.log('footbutton组件加载完毕');
// console.log(props);
},
props:{}, //配置需要传入的属性
delimiters: ['{[', ']}'],//delimiters:改变默认的插值符号
};
const notepopupComponent = {
template: `
`,
setup(props, context) {
console.log('note-popup组件加载完毕');
console.log(props);
},
props:{
path:'',
url:'',
}, //配置需要传入的属性
delimiters: ['{[', ']}'],//delimiters:改变默认的插值符号
};
const stuheaderComponent = {
template: `
`,
setup(props, context) {
console.log('stuheader组件加载完毕');
console.log(props);
},
props:{
ctx:{},
items:{class:[],list:[]},
hotsuggs:{data:[]},
}, //配置需要传入的属性
delimiters: ['{[', ']}'],//delimiters:改变默认的插值符号
};
const stubannerComponent = {
template:`
`,
setup(props, context) {
console.log('stubanner组件加载完毕');
console.log(props);
},
props:{
ctx:{},
items:{class:[],list:[]},
hotsuggs:{data:[]},
}, //配置需要传入的属性
delimiters: ['{[', ']}'],//delimiters:改变默认的插值符号
}
//下面的注册组件方法无法使用,需要在app里去注册
// Vue.component('copy-right', copyrightComponent);
// Vue.component('foot-button', footbuttonComponent);
// Vue.component('note-popup', notepopupComponent);
// Vue.component('stu-header', stuheaderComponent);
// Vue.component('stu-banner', stubannerComponent);