wp-vue-starter icon indicating copy to clipboard operation
wp-vue-starter copied to clipboard

Dealing with page templates

Open enkota opened this issue 6 years ago • 2 comments

Hey,

What a fantastic starting point for building with Vue!

Could you explain a bit in detail how page templates should be managed? In normal themes we usually create a page template for a certain page and apply it. I've noticed in the index.php that you load each of the template parts as a whole.

Let's say we had around 20 page templates being loaded via the index files, would this be bad for performance? Is there a more streamlined approach to applying page templates to specific pages?

Thanks!

enkota avatar Mar 02 '18 12:03 enkota

I had to delete my previous comment. It turns out - custom page templates are not working. Looking into it.

michaelsoriano avatar Mar 02 '18 20:03 michaelsoriano

its actually not supported at the moment. keeping issue open and marking it as "enhancement"

michaelsoriano avatar Mar 02 '18 21:03 michaelsoriano