Visual demo fixes

This commit is contained in:
Tuğçe Küçükoğlu 2023-09-26 15:14:16 +03:00
parent 50dd991655
commit f534e4a1ad
19 changed files with 95 additions and 47 deletions

View file

@ -19,13 +19,15 @@ import {createApp} from 'vue';
import ToastService from 'primevue/toastservice';
const app = createApp(App);
app.use(ToastService);`
app.use(ToastService);
`
},
code2: {
basic: `
import { useToast } from 'primevue/usetoast';
const toast = useToast();`
const toast = useToast();
`
}
};
}