init
This commit is contained in:
16
src/components/registerSections.js
Normal file
16
src/components/registerSections.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import PagebuilderSectionPlugin from "../../../magico-section/src/components/PagebuilderSectionPlugin.vue";
|
||||
|
||||
export function useSections() {
|
||||
console.log('DUPA',PagebuilderSectionPlugin);
|
||||
function register(vm) {
|
||||
vm.registerPlugin(
|
||||
"SectionX1",
|
||||
{
|
||||
label: "Sekcja 1",
|
||||
svg_off: ``,
|
||||
},
|
||||
PagebuilderSectionPlugin
|
||||
);
|
||||
}
|
||||
return { register };
|
||||
}
|
||||
Reference in New Issue
Block a user