diff --git a/src/components/Defect.vue b/src/components/Defect.vue index b2884bd..fd9fdc0 100644 --- a/src/components/Defect.vue +++ b/src/components/Defect.vue @@ -1,30 +1,68 @@ - - - - {{ msg }} - - - - {{ descr }} - - - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. - - + + + + + {{ defect.name }} + + + {{ defect.descriptionShort }} + + + + + + + + Long Description: {{ defect.descriptionLong }} + Location: {{ defect.location }} + + + + - defineProps({ - msg: String, - descr: String, - }) + diff --git a/src/main.ts b/src/main.ts index c8fc172..97b7c66 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,9 +12,12 @@ import App from './App.vue' // Composables import { createApp } from 'vue' +import vuetify from './plugins/vuetify' const app = createApp(App) registerPlugins(app) +app.use(vuetify) + app.mount('#app') diff --git a/src/pages/defects.vue b/src/pages/defects.vue index 621adea..80aa167 100644 --- a/src/pages/defects.vue +++ b/src/pages/defects.vue @@ -6,35 +6,79 @@ Defects - - + + - - {{ defect.name }} - - - {{ defect.location }} - - - - + :defect="defect" + /> + + + - - Refresh - + Refresh + + + + + Add Defect + + + + + + + + Add New Defect + + + + + + + + + + + + + + + + + + + + + + *indicates required field + + + + + + + Cancel + Save + + + @@ -42,12 +86,17 @@
Long Description: {{ defect.descriptionLong }}
Location: {{ defect.location }}