initialisation of the plugin web2print
This commit is contained in:
parent
abff2cba9b
commit
d365abfdb9
14 changed files with 373 additions and 0 deletions
40
site/plugins/your-plugin/index.js
Normal file
40
site/plugins/your-plugin/index.js
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
(function() {
|
||||
"use strict";
|
||||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
|
||||
var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
|
||||
if (render) {
|
||||
options.render = render;
|
||||
options.staticRenderFns = staticRenderFns;
|
||||
options._compiled = true;
|
||||
}
|
||||
return {
|
||||
exports: scriptExports,
|
||||
options
|
||||
};
|
||||
}
|
||||
const _sfc_main = {
|
||||
// Put your section logic here
|
||||
};
|
||||
var _sfc_render = function render() {
|
||||
var _vm = this;
|
||||
_vm._self._c;
|
||||
return _vm._m(0);
|
||||
};
|
||||
var _sfc_staticRenderFns = [function() {
|
||||
var _vm = this, _c = _vm._self._c;
|
||||
return _c("section", { staticClass: "k-demo-section" }, [_c("header", { staticClass: "k-section-header" }, [_c("h2", { staticClass: "k-headline" }, [_vm._v("Your custom section")])])]);
|
||||
}];
|
||||
_sfc_render._withStripped = true;
|
||||
var __component__ = /* @__PURE__ */ normalizeComponent(
|
||||
_sfc_main,
|
||||
_sfc_render,
|
||||
_sfc_staticRenderFns
|
||||
);
|
||||
__component__.options.__file = "C:/Users/anton/Desktop/studioVariable/actuelleInactuelle/actuel-inactuel/site/plugins/your-plugin/src/components/DemoSection.vue";
|
||||
const DemoSection = __component__.exports;
|
||||
window.panel.plugin("getkirby/pluginkit", {
|
||||
sections: {
|
||||
demo: DemoSection
|
||||
}
|
||||
});
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue