Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
 
 
 
 
 
 

23 lines
327 B

  1. <template>
  2. <section class="shadowbox">
  3. <h2>Register</h2>
  4. <account :error="''" @submit="create" />
  5. </section>
  6. </template>
  7. <script setup>
  8. import { ref } from "vue"
  9. import Account from "./account.vue"
  10. function create(user) {
  11. console.log(user)
  12. }
  13. </script>
  14. <style scoped>
  15. section {
  16. max-width: 350px;
  17. margin: auto;
  18. }
  19. </style>