Initial commit
This commit is contained in:
34
src/main.ts
Normal file
34
src/main.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
import type { App as Vue } from 'vue'
|
||||
import routes from '@/routes'
|
||||
import integrations from '@/integrations'
|
||||
import { useCollectionsStore } from '@/stores/collectionsStore'
|
||||
import { useEntitiesStore } from '@/stores/entitiesStore'
|
||||
import { useProvidersStore } from '@/stores/providersStore'
|
||||
import { useServicesStore } from '@/stores/servicesStore'
|
||||
|
||||
/**
|
||||
* Mail Manager Module Boot Script
|
||||
*
|
||||
* This script is executed when the mail_manager module is loaded.
|
||||
* It initializes the stores which manage mail providers, services, collections, and messages.
|
||||
*/
|
||||
|
||||
console.log('[MailManager] Booting Mail Manager module...')
|
||||
|
||||
console.log('[MailManager] Mail Manager module booted successfully')
|
||||
|
||||
// CSS will be injected by build process
|
||||
export const css = ['__CSS_FILENAME_PLACEHOLDER__']
|
||||
|
||||
// Export routes and integrations for module system
|
||||
export { routes, integrations }
|
||||
|
||||
// Export stores for external use if needed
|
||||
export { useCollectionsStore, useEntitiesStore, useProvidersStore, useServicesStore }
|
||||
|
||||
// Default export for Vue plugin installation
|
||||
export default {
|
||||
install(app: Vue) {
|
||||
// Module initialization if needed
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user