Stumbling over this because I’m too looking for how to access the page from within a block plugin to display the page title inside the block. Took me quite some googling to find the solution in here. Thank you texnixe!
I first found Access kirby objects in Custom Block Vue component (blocks field) and I learned from jash how to request page data from the api. However they’re using a page id from a content field.
Then I found How to get a page object in a vue plugin? and it’s pointing to the same unfortunately wrong solution: Block factory: Creating your own blocks collection | Kirby CMS where they don’t access the page data of the current page but from a pages field.
Could I have found this information in the Reference | Kirby CMS?