@3dsource/angular-unreal-module 0.0.133 → 0.0.135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -65,7 +65,7 @@ import { provideRouter } from '@angular/router';
|
|
|
65
65
|
import { provideHttpClient } from '@angular/common/http';
|
|
66
66
|
import { provideStore } from '@ngrx/store';
|
|
67
67
|
import { provideEffects } from '@ngrx/effects';
|
|
68
|
-
import {
|
|
68
|
+
import { provideUnrealModule, UNREAL_CONFIG } from '@3dsource/angular-unreal-module';
|
|
69
69
|
|
|
70
70
|
export const appConfig: ApplicationConfig = {
|
|
71
71
|
providers: [
|
|
@@ -97,9 +97,10 @@ export const appConfig: ApplicationConfig = {
|
|
|
97
97
|
},
|
|
98
98
|
},
|
|
99
99
|
|
|
100
|
-
// Unreal providers (adds feature state
|
|
101
|
-
//
|
|
102
|
-
|
|
100
|
+
// Core Unreal providers (adds feature state + effects internally).
|
|
101
|
+
// playwright/testing mode is set via UNREAL_CONFIG above.
|
|
102
|
+
// Opt into extra features as needed — see "Bundle size & features" below.
|
|
103
|
+
provideUnrealModule(),
|
|
103
104
|
],
|
|
104
105
|
};
|
|
105
106
|
```
|
|
@@ -110,7 +111,7 @@ If you don't need custom endpoints, provide `UNREAL_CONFIG` with an empty object
|
|
|
110
111
|
|
|
111
112
|
```ts
|
|
112
113
|
{ provide: UNREAL_CONFIG, useValue: {} },
|
|
113
|
-
|
|
114
|
+
provideUnrealModule(),
|
|
114
115
|
```
|
|
115
116
|
|
|
116
117
|
### 2) Use the Unreal scene component
|