How can I get the current page object in custom panel section plugin?
i.e.
here Custom Panel section | Kirby CMS I’d like to get the $page->uid() in order to load the proper json file like this:
Any properties that you want to use in the vue part of your sections you have to pass to them, as props, computed props or methods. props are static properties (think of them as the parts you have in your blueprint, like the label etc), computed are also properties, but you can do all sorts of manipulation/calculation in there, like for example do something with the ‘props’.
These PHP files are loaded in the Component class and the props etc. applied there.