<template>
    <container-page 
        :app="app"
    />
</template>

<script>
    export default {
        props: {
            app: {require: true},
        },

        components: {
            ContainerPage: require('./../components/ContainerPage').default,
        },

        created() {
            this.app.AddClassesByContext(require.context('./../../Classes', true, /\.class.js$/i));
            // this.app.AddFormsByContext(require.context('./../../Forms', true, /\.form.js$/i));
            this.app.AddDataProvidersByContext(require.context('./../../DataSessions', true, /\.dataprovider.js$/i));
            this.app.AddMenusByContext(require.context('./../../Menus', true, /\.menu.js$/i));
        },

        name: 'Index',
    }
</script>