mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Basic concept for the EULA feature to demo how this will all work
This commit is contained in:
11
resources/scripts/components/server/features/index.ts
Normal file
11
resources/scripts/components/server/features/index.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { lazy } from 'react';
|
||||
|
||||
/**
|
||||
* Custom features should be registered here as lazy components so that they do
|
||||
* not impact the generated JS bundle size. They will be automatically loaded in
|
||||
* whenever they are actually loaded for the client (which may be never, depending
|
||||
* on the feature and the egg).
|
||||
*/
|
||||
const EulaModalFeature = lazy(() => import(/* webpackChunkName: "feature.eula" */'@feature/eula/EulaModalFeature'));
|
||||
|
||||
export { EulaModalFeature };
|
||||
Reference in New Issue
Block a user