diff --git a/index.html b/index.html
index 6a36862..a7ae2be 100644
--- a/index.html
+++ b/index.html
@@ -12,14 +12,15 @@
-
+
+
@@ -31,27 +32,16 @@
import { createApp } from 'https://unpkg.com/vue@3/dist/vue.esm-browser.js';
import Navbar from './src/view/navbar.js';
- import TeamAdd from './src/view/team_add.js';
- import Teamcard from './src/view/teamcard.js';
-
- const app = createApp({
- data() {
- return {
- allTeam: []
- }
- },
- methods: {
- addTeam: function (team) {
- console.log('index.addTeam', team);
- this.allTeam.push(team);
- }
- }
- })
+ import Team from './src/view/team.js'
+
+ const app = createApp();
+
app.component('Navbar', Navbar)
- .component('TeamAdd', TeamAdd)
- .component('Teamcard', Teamcard);
+ .component('Team', Team)
app.mount('#app');