File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ const picard = initializePicard({
3737The configuration is fully typed. For instance, to load the micro frontends from a micro frontend discovery service you can set the ` feed ` option:
3838
3939``` js
40- import { initializePicard } from ' picard-js/node ' ;
40+ import { initializePicard } from ' picard-js/client ' ;
4141
4242const picard = initializePicard ({
43- feed: ' https://feed.piral.cloud/api/v1/pilet/tractor-ssr- demo' ,
43+ feed: ' https://feed.piral.cloud/api/v1/pilet/tractor-demo' ,
4444});
4545```
4646
@@ -55,11 +55,11 @@ The `feed` can be supplied as
5555So, if you want to provide some custom headers when making the request to the micro frontends discovery service you should implement a function:
5656
5757``` js
58- import { initializePicard } from ' picard-js/node ' ;
58+ import { initializePicard } from ' picard-js/client ' ;
5959
6060const picard = initializePicard ({
6161 feed : () =>
62- fetch (' https://feed.piral.cloud/api/v1/pilet/tractor-ssr- demo' , {
62+ fetch (' https://feed.piral.cloud/api/v1/pilet/tractor-demo' , {
6363 headers: {
6464 // your custom headers here
6565 }
You can’t perform that action at this time.
0 commit comments