mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-21 21:49:55 +03:00
Merge 90bf815e08
into 7a48268a74
This commit is contained in:
commit
40a9e6fd99
|
@ -12,6 +12,7 @@ Mostly functional:
|
|||
- [PureScript](#purescript)
|
||||
- [Reductive](#reductive)
|
||||
- [Aurelia](#aurelia)
|
||||
- [Fluxor](#fluxor) (.NET)
|
||||
|
||||
In progress:
|
||||
|
||||
|
@ -300,3 +301,27 @@ export function configure(aurelia: Aurelia) {
|
|||
aurelia.start().then(() => aurelia.setRoot());
|
||||
}
|
||||
```
|
||||
|
||||
### [Fluxor](https://github.com/mrpmorris/fluxor) (.NET)
|
||||
|
||||
#### [Fluxor.Blazor.Web.ReduxDevTools](https://github.com/mrpmorris/Fluxor/tree/master/Source/Lib/Fluxor.Blazor.Web.ReduxDevTools)
|
||||
1. Add the `Fluxor.Blazor.Web.ReduxDevTools` nuget package to your project.
|
||||
2. (Optional) Make it conditional on `DEBUG` mode.
|
||||
|
||||
```
|
||||
<ItemGroup Condition="$(Configuration)=='Debug'">
|
||||
<PackageReference Include="Fluxor.Blazor.Web.ReduxDevTools" Version="...." />
|
||||
</ItemGroup>
|
||||
```
|
||||
|
||||
3. Use the `UseReduxDevTools` extension on the Fluxor options.
|
||||
|
||||
```c#
|
||||
services.AddFluxor(o =>
|
||||
{
|
||||
o.ScanAssemblies(typeof(SomeType).Assembly);
|
||||
#if DEBUG
|
||||
o.UseReduxDevTools();
|
||||
#endif
|
||||
});
|
||||
```
|
Loading…
Reference in New Issue
Block a user