mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 13:55:21 +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
|
@ -4,9 +4,10 @@ import edgeStackModule from './views/edge-stacks';
|
|||
import edgeDevicesModule from './devices';
|
||||
import { componentsModule } from './components';
|
||||
import { WaitingRoomViewAngular } from './EdgeDevices/WaitingRoomView';
|
||||
import { reactModule } from './react';
|
||||
|
||||
angular
|
||||
.module('portainer.edge', [edgeStackModule, edgeDevicesModule, componentsModule])
|
||||
.module('portainer.edge', [edgeStackModule, edgeDevicesModule, componentsModule, reactModule])
|
||||
.component('waitingRoomView', WaitingRoomViewAngular)
|
||||
.config(function config($stateRegistryProvider) {
|
||||
const edge = {
|
||||
|
|
6
app/edge/react/components/index.ts
Normal file
6
app/edge/react/components/index.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import angular from 'angular';
|
||||
|
||||
export const componentsModule = angular.module(
|
||||
'portainer.edge.react.components',
|
||||
[]
|
||||
).name;
|
9
app/edge/react/index.ts
Normal file
9
app/edge/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.edge.react', [
|
||||
viewsModule,
|
||||
componentsModule,
|
||||
]).name;
|
6
app/edge/react/views/index.ts
Normal file
6
app/edge/react/views/index.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import angular from 'angular';
|
||||
|
||||
export const viewsModule = angular.module(
|
||||
'portainer.edge.react.views',
|
||||
[]
|
||||
).name;
|
Loading…
Add table
Add a link
Reference in a new issue