1
0
Fork 0
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:
Chaim Lev-Ari 2022-05-17 07:22:44 +03:00 committed by GitHub
parent 668d526604
commit 1132c9ce87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
188 changed files with 147 additions and 4 deletions

View file

@ -1,7 +1,8 @@
import registriesModule from './registries';
import customTemplateModule from './custom-templates';
import { reactModule } from './react';
angular.module('portainer.kubernetes', ['portainer.app', registriesModule, customTemplateModule]).config([
angular.module('portainer.kubernetes', ['portainer.app', registriesModule, customTemplateModule, reactModule]).config([
'$stateRegistryProvider',
function ($stateRegistryProvider) {
'use strict';

View file

@ -0,0 +1,6 @@
import angular from 'angular';
export const componentsModule = angular.module(
'portainer.kubernetes.react.components',
[]
).name;

View file

@ -0,0 +1,9 @@
import angular from 'angular';
import { componentsModule } from './components';
import { viewsModule } from './views';
export const reactModule = angular.module('portainer.kubernetes.react', [
viewsModule,
componentsModule,
]).name;

View file

@ -0,0 +1,6 @@
import angular from 'angular';
export const viewsModule = angular.module(
'portainer.kubernetes.react.views',
[]
).name;