cd ./appshell
and runnpm i
and thennpm run build
cd ../blazor-pilet1
and rundotnet build
cd ../blazor-pilet2
and rundotnet build
cd ../.piral~/blazor-pilet1
and runpilet debug ./src/index.tsx ..\BlazorPilet2\src\index.tsx
- When you visit
http://localhost:1234/image
you should see an image. It's loaded in blazor-pilet2\Pages\ImagePage.razor fromblazor-pilet2\wwwroot\images\image.jpg
usingIPiletService.GetUrl()
but that does not work anymore. - When you visit
http://localhost:1234/extension
you see the extensionblazor-pilet1\Components\TestExtension.razor
with the silver background. There a value should be shown. The Value is created inblazor-pilet2\Pages\ExtensionPage.razor
and given to the extension via[PiralParameter("params")]
. This does not work anymore.