a6a4ceee86
* fixing up typing * better dynamic loader mechanism * buildReqLoaders cleanup * added caching to loaders * ensuring all loaders are async * fe2 plugins error handling fix * feat(shared): true-myth result structures & other auth policy improvements * moving workspaceCore loaders to correct place
12 lines
260 B
TypeScript
12 lines
260 B
TypeScript
import PortalVue from 'portal-vue'
|
|
|
|
export default defineNuxtPlugin((nuxtApp) => {
|
|
nuxtApp.vueApp.use(PortalVue)
|
|
|
|
if (import.meta.client) {
|
|
const div = document.createElement('div')
|
|
div.id = 'toast-portal'
|
|
document.body.appendChild(div)
|
|
}
|
|
})
|