mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
refactor(app): create empty react structure [EE-3178] (#6926)
This commit is contained in:
parent
668d526604
commit
1132c9ce87
188 changed files with 147 additions and 4 deletions
|
@ -3,9 +3,10 @@ import angular from 'angular';
|
|||
import { AzureSidebarAngular } from './AzureSidebar/AzureSidebar';
|
||||
import { DashboardViewAngular } from './Dashboard/DashboardView';
|
||||
import { containerInstancesModule } from './ContainerInstances';
|
||||
import { reactModule } from './react';
|
||||
|
||||
angular
|
||||
.module('portainer.azure', ['portainer.app', containerInstancesModule])
|
||||
.module('portainer.azure', ['portainer.app', containerInstancesModule, reactModule])
|
||||
.config([
|
||||
'$stateRegistryProvider',
|
||||
function ($stateRegistryProvider) {
|
||||
|
|
6
app/azure/react/components/index.ts
Normal file
6
app/azure/react/components/index.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import angular from 'angular';
|
||||
|
||||
export const componentsModule = angular.module(
|
||||
'portainer.azure.react.components',
|
||||
[]
|
||||
).name;
|
9
app/azure/react/index.ts
Normal file
9
app/azure/react/index.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import angular from 'angular';
|
||||
|
||||
import { componentsModule } from './components';
|
||||
import { viewsModule } from './views';
|
||||
|
||||
export const reactModule = angular.module('portainer.azure.react', [
|
||||
viewsModule,
|
||||
componentsModule,
|
||||
]).name;
|
6
app/azure/react/views/index.ts
Normal file
6
app/azure/react/views/index.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import angular from 'angular';
|
||||
|
||||
export const viewsModule = angular.module(
|
||||
'portainer.azure.react.views',
|
||||
[]
|
||||
).name;
|
Loading…
Add table
Add a link
Reference in a new issue