You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for sharing this at DotAll last week! It's so cool to see more examples of component-driven Craft development.
This is more of a discussion than an issue, but it occurred to me that using a php config file that returns an array rather than an actual json file might be useful for generating component context. That would allow you to do things like pass in environment variables and use more dynamic data, via something like fakerphp/faker or even a live API.
We've forked the repo and are already looking to see how we might adapt it to our workflow. The results are promising! It makes me wonder if this could be adapted into a general purpose Craft plugin at some point?
The text was updated successfully, but these errors were encountered:
Thanks for sharing this at DotAll last week! It's so cool to see more examples of component-driven Craft development.
This is more of a discussion than an issue, but it occurred to me that using a php config file that returns an array rather than an actual json file might be useful for generating component context. That would allow you to do things like pass in environment variables and use more dynamic data, via something like
fakerphp/faker
or even a live API.We've forked the repo and are already looking to see how we might adapt it to our workflow. The results are promising! It makes me wonder if this could be adapted into a general purpose Craft plugin at some point?
The text was updated successfully, but these errors were encountered: