You could do something like they do on social media
Dec 28, 2022
2
Level 9
Showing Laravel data on a WordPress site
Hi all. We have a WordPress site setup to provide landing pages etc for a new app. The app is Vue with a Laravel API backend. Everything is provisioned by Forge on Digital Ocean.
I'd like to show some live data from the app on the WordPress site. I was wondering if anyone had any experience or recomendations for best practice?
My current ideas are:
- creating an HTML page on the API server to include in an iframe on wordpress
- a js widget from the API server
- creating a Vue "widget" and including in an iframe on wordpress (I like this as it handles the CCS)
Would be good to hear some other opinions!
Thanks, RobJ.
Please or to participate in this conversation.