Basic concept for the EULA feature to demo how this will all work
This commit is contained in:
parent
505a9a6cbd
commit
aba7df3afa
8 changed files with 90 additions and 2 deletions
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 a new issue