UNPKG

@omni-door/tpl-component-vue

Version:
10 lines (9 loc) 529 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.tpl_src_index = void 0; var utils_1 = require("@omni-door/utils"); var tpl = "`${ts ? `import type { App } from 'vue';\n` : ''}\n\ninstall.installed = false;\nfunction install(app${ts ? `: App` : ''}) {\n if (install.installed) return;\n install.installed = true;\n // app.component()\n}\n\nexport default {\n install\n};\n`"; exports.tpl_src_index = { tpl: tpl }; exports.default = utils_1.tplEngineInit(exports.tpl_src_index, 'tpl');