UNPKG

swiper-next

Version:
23 lines (22 loc) 704 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const vue = require("vue"); const animation = require("./animation.js"); const defineBuiltInComponent = (options) => { options.__reserved = true; const { props, mixins } = options; if (!props || !props.animation) { (mixins || (options.mixins = [])).push(animation); } return defineSystemComponent(options); }; const defineSystemComponent = (options) => { options.__reserved = true; options.compatConfig = { MODE: 3 // 标记为vue3 }; return vue.defineComponent(options); }; exports.defineBuiltInComponent = defineBuiltInComponent; exports.defineSystemComponent = defineSystemComponent;