@spartacus-easy/debug-ui
v2211.20.2
Published
## Description Spartacus library to make configurable from the frontend some Spartacus variables (example OCC Endpoint).
Downloads
4
Keywords
Readme
@spartacus-easy/debug-ui
Description
Spartacus library to make configurable from the frontend some Spartacus variables (example OCC Endpoint).
How to Install
The library can be installed in the Spartacus project with the following command:
yarn add @spartacus-easy/debug-ui
How to Add to your project
The library can be included in the Spartacus project as follow:
import { DebugUiModule } from "@spartacus-easy/debug-ui";
@NgModule({
imports: [
...
DebugUiModule
],
})
How to Use
- Add
debugUI=true
to the query string. Here is an example: https://localhost:4200/en/GBP/?debugUI=true. - Change the OCC Endpoint and click
Apply
To reset the value, add debugUI=false
to the query string.