From 4e42cba4f99e0fdbd79e60aaf2e8ffad5a98b822 Mon Sep 17 00:00:00 2001 From: Andinus Date: Wed, 2 Feb 2022 17:41:26 +0530 Subject: Setup data in NewSmile, add ProgressBar --- client/src/main.js | 6 ++++++ client/src/views/NewSmile.vue | 31 ++++++++++++++++++++++++++++--- 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/client/src/main.js b/client/src/main.js index 13ce79d..76a71b3 100644 --- a/client/src/main.js +++ b/client/src/main.js @@ -3,11 +3,14 @@ import App from './App.vue'; import router from './router' import PrimeVue from 'primevue/config'; +import ToastService from 'primevue/toastservice'; import Menubar from 'primevue/menubar'; import Divider from 'primevue/divider'; import InputText from 'primevue/inputtext'; import Button from 'primevue/button'; import Card from 'primevue/card'; +import Toast from 'primevue/toast'; +import ProgressBar from 'primevue/progressbar'; import 'primevue/resources/themes/lara-dark-blue/theme.css'; import 'primevue/resources/primevue.min.css'; @@ -18,10 +21,13 @@ const app = createApp(App); app.use(router); app.use(PrimeVue); +app.use(ToastService); app.component('Divider', Divider); app.component('Menubar', Menubar); app.component('InputText', InputText); app.component('Button', Button); app.component('Card', Card); +app.component('Toast', Toast); +app.component('ProgressBar', ProgressBar); app.mount('#app'); diff --git a/client/src/views/NewSmile.vue b/client/src/views/NewSmile.vue index 4a5e700..aaa3e44 100644 --- a/client/src/views/NewSmile.vue +++ b/client/src/views/NewSmile.vue @@ -14,16 +14,41 @@
-
+ + + + +