mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +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
|
@ -1,11 +1,13 @@
|
|||
import angular from 'angular';
|
||||
|
||||
import { EnvironmentStatus } from '@/portainer/environments/types';
|
||||
|
||||
import { reactModule } from './react';
|
||||
import containersModule from './containers';
|
||||
import { componentsModule } from './components';
|
||||
import { networksModule } from './networks';
|
||||
|
||||
angular.module('portainer.docker', ['portainer.app', containersModule, componentsModule, networksModule]).config([
|
||||
angular.module('portainer.docker', ['portainer.app', containersModule, componentsModule, networksModule, reactModule]).config([
|
||||
'$stateRegistryProvider',
|
||||
function ($stateRegistryProvider) {
|
||||
'use strict';
|
||||
|
|
6
app/docker/react/components/index.ts
Normal file
6
app/docker/react/components/index.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import angular from 'angular';
|
||||
|
||||
export const componentsModule = angular.module(
|
||||
'portainer.docker.react.components',
|
||||
[]
|
||||
).name;
|
9
app/docker/react/index.ts
Normal file
9
app/docker/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.docker.react', [
|
||||
viewsModule,
|
||||
componentsModule,
|
||||
]).name;
|
6
app/docker/react/views/index.ts
Normal file
6
app/docker/react/views/index.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import angular from 'angular';
|
||||
|
||||
export const viewsModule = angular.module(
|
||||
'portainer.docker.react.views',
|
||||
[]
|
||||
).name;
|
Loading…
Add table
Add a link
Reference in a new issue