Guest User

Untitled

a guest
Mar 20th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <template>
  2. <div>
  3. <h1>Recharge mobile phone</h1>
  4. <PaymentForm @submit="onSubmit" />
  5. </div>
  6. </template>
  7. <script>
  8. import PaymentForm from './PaymentForm.vue'
  9. export default {
  10. name: 'PaymentPage',
  11. components: {
  12. PaymentForm
  13. },
  14. methods: {
  15. onSubmit (data) {
  16. // ... here we can make an API call
  17. }
  18. }
  19. }
  20. </script>
Add Comment
Please, Sign In to add comment