vue-carousel-3d
Version:
Beautiful, flexible and touch supported 3D Carousel for Vue.js
16 lines (12 loc) • 402 B
JavaScript
;
function cssHelper(...args) {
return args.reduce((result, path, i) => {
if (i) result += '\n';
if (Array.isArray(path)) {
return result + Reflect.apply(cssHelper, this, path);
}
if (!path.includes('?') && !path.endsWith('.css')) path += '.css';
return `${result}<link rel="stylesheet" href="${this.url_for(path)}">`;
}, '');
}
module.exports = cssHelper;