-
Notifications
You must be signed in to change notification settings - Fork 931
Closed
Labels
Description
Description
I'm using UI Pro ** and the Dashboard Template ** and I just want the position of the toast to be top-center.
I've tried updating my app.config.ts as well as updating appConfig in code.
My app.config.ts is:
export default defineAppConfig({
toaster: {
position: 'top-center',
},
ui: {
colors: {
primary: 'green',
neutral: 'zinc'
}
}
})
My code is:
const appConfig = useAppConfig()
appConfig.toaster.position = "top-center"
const toast = useToast();
I tried reversing the order of useToast() and useAppConfig() to no avail.
I'm sorry this is so basic, but I'm pulling my (remaining) hair out!
Thanks!!
Jim