Page ContentTypeEditor Component Vue file Props, how to get page properties #1981
Unanswered
soljakwinever
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm extending the StandardPage model that comes with Piranha and I'm having difficulty getting my custom property off of my page into the vue component I am creating to edit it. The component loads fine in my browser, I'm able to debug it, it's when I'm trying to retrieve the value of my CustomCss property in the vue component things no longer work.
This is my page model so far
And I have this as my vue file
model
,content
, andtype
all come back undefined, butuid
andid
work. I was wondering if it is possible to get my CustomCss property into this. Maybe I am just adding the wrong thing to my props? I'm not sure what all the options are when it comes to pages, I was trying to figure it out from the source code but haven't been able to figure it out yet.Beta Was this translation helpful? Give feedback.
All reactions