First load the custom Component, if there is routerLink in it, parse it and try to generate a url:
Here explains the association between pipe and logic view:
ConfigurableRoutesService:
GenerateUrlPart: Generate static url when rendering the page:
The parameters I specified in have been passed to the commands variable:
The content of routeConfig: In paramsMapping, name is specified in my application code, and productCode is the default setting of Spartacus:
The find method that comes with JavaScript array: only returns the first one
urlEncodingParameters:
The parameters start with:
The first path to be matched:
every: As long as one element executes the arrow function as false, every returns false:
paramName acts as default:
To get more original articles by Jerry, please follow the public account "Wang Zixi":