We are thinking of using Vue.js to write some UI components. We will want to have it use REST or AJAX to send data back to WordPress, but to integrate this component in the admin/backend side of WordPress, it would be helpful if the component could also send $_POST data back on a form submit as well. We were not clear if the v-model attribute on an input would also automatically create the name attribute. When looking at the markup on the browser, the name attribute was missing. Probably merely adding the name attribute with the POST variable name would be all we needed. But we wanted to make sure. This is the code we used to test. This creates a Template that we applied to a new page.
With the name attribute, we got the post data back just fine.
Message posted