DEV Community

Discussion on: Switching up your Spotify experience with microfrontends and Blazor

Collapse
 
dantederuwe profile image
Dante De Ruwe

Thanks for your comment!

First off, let me mention that questions like these are best asked in the Piral Community Gitter chat. There are a lot of great people there that can answer your questions way better than I can.

I'll at least try to answer your question: the Piral instance and the pilets are completely separate in terms of folder structure. Piral.Blazor.Tools uses the Piral instance that is published to an npm registry as an emulator. So if your Piral Instance is not published, Piral.Blazor.Tools will fail. (You COULD provide the path to your Piral instance tarball in your csproj, but publishing the emulator package would be more reliable)

As for your second question, maybe this can be of use:
github.com/smapiot/sample-pilet-se...

Collapse
 
softwareprogrammer profile image
Matt Parker

Ah - I hadn't realised that the Piral instance needs to be published. Also, many thanks for the link to Glitter as I was unaware of that too.

Appreciate your help :)

Thread Thread
 
dantederuwe profile image
Dante De Ruwe

You're very welcome! :)