Is there a way to get data using REST API ? to display in the site
You can always do a fetch call to pull data from REST API, and use something like Alpinejs or Petite-Vue to render the data in your page.
I have a few examples in this Pinegrow plugin of mine, give it a shot - GitHub - TechAkayy/frameworks-lite-for-pinegrow: Vue, Petite-Vue, AlpineJS, HTMX for Pinegrow
1 Like