wp-rest-theme
wp-rest-theme copied to clipboard
Use it for a big database website
Hello,
First thanks for your contribution. I found your theme is quiet cool to start with
As I can see to enable Wordpress routes to Vue.js, You implemented a function to grab all posts from db and announce them in the html as a scoped javascript variable.
I guess if I use it in a big data website. This will include all my posts & pages slugs inside the html an website will take along time to load it. Am I right?
Is there any work around you can imagine to avoid this?
I can think of something will allow Vue to check with an api whenever a user click on a link to check which link is this and where should it take it. And those links will have some html5 attr. to avoid external links handling and other links might be needed to avoid
I would appreciate your response
Thanks