Register vendors

We can register css/js/PHP vendor for this section. We need to register vendor in schema section of section.lh file.

{section-folder}/section.lh
@schema
{
"name" : "Testimonial",
"author" : "Layouthub Team",
"website" : "https://www.layouthub.com",
"version" : "1.0",
"vendors" : {
"hub_vendor_css": "assets/css/base.css",
"owl_vendor_css": "assets/js/owl-carousel/assets/owl.carousel.css",
"owl_vendor_js": "assets/js/owl-carousel/owl.carousel.js"
},
"configs" : {
"background" : {
"color" : "#fff"
}
}
}
@endschema

To register the PHP vendor for this section, we do the same thing as above.

@schema
{
"name" : "Testimonial",
"author" : "Layouthub Team",
"website" : "https://www.layouthub.com",
"version" : "1.0",
"vendors" : {
"hub_vendor_css": "assets/css/base.css",
"test_vendor_php": "php_vendors/test.php"
},
"configs" : {
"background" : {
"color" : "#fff"
}
}
}
@endschema