Homepage.vue 413 B

1234567891011121314151617181920212223242526272829303132
  1. <template>
  2. <main>
  3. <h1>Homepage</h1>
  4. </main>
  5. </template>
  6. <script>
  7. import DataTable from '../components/DataTable.vue'
  8. import io from "../../io.js";
  9. export default {
  10. components: { DataTable },
  11. data: () => {
  12. return {
  13. }
  14. },
  15. methods: {
  16. },
  17. mounted() {
  18. io.getSocket(socket => {
  19. this.socket = socket;
  20. });
  21. }
  22. };
  23. </script>
  24. <style lang="scss" scoped>
  25. </style>