Comments (5)
Hm nope - can you provide a MWE to reproduce the issue? What platform (Windows / Linux / Mac) are you using?
from piral.blazor.
I'm on windows. I tried zipping up my project but it was too big. I didn't publish my shell to the public NPM feed so I can't just share the blazor app.
I used the piral-cli to create a new shell app and added these dependencies:
"dependencies": {
"blazor": "^5.0.0-pre.20210622.1",
"piral": "^0.13.9",
"piral-blazor": "^0.14.0-pre.3099"
}
and added the plugin to index.tsx
renderInstance({
plugins: [
createBlazorApi()
],
layout,
errors,
requestPilets() {
return fetch(feedUrl)
.then(res => res.json())
.then(res => res.items);
},
});
and then published it to a private NPM feed.
After that I used version 5.0.0-pre.20210622.1 of Piral.Blazor.Template to scaffold a Blazor app. I pointed it at my private NPM feed and my shell package and built and ran the app. I get this error when I navigate to /counter.
from piral.blazor.
I tried zipping up my project but it was too big.
Please don't use ZIP. Use a GitHub repository. And please don't add binaries etc. -> standard gitignore rules should apply (so avoid adding dependencies which are anyway resolved via NPM / NuGet / whatever package manager).
Regarding the steps; thanks for providing these - but those are pretty standard steps. They are too generic to help resolving your issue.
There is no need to share your specific project. A MWE is by definition something small and does not require business context. Just try to reproduce your issue in a clean project and share that one once you are successful. Thanks!
from piral.blazor.
https://github.com/roend83/Piral.Blazor.MWE
There's not a lot to this. Just followed the steps I outlined above.
from piral.blazor.
I just tested this. It works on my side. Notable changes / my configuration:
- SDK was 5.0.404 (originally 5.0.401)
- Updated all parts to latest version (e.g., piral, piral-cli, etc. in 14.0.6) and aligned versions (previously was piral-blazor in 0.14-preview, but piral in 0.13.9)
- Did not use "localhost" for npm registry, but just the local path (I've built the app shell upfront)
Did not test with the usual configuration as I'm not sure what you took as registry and why you mixed versions (plus, I did not want to install an oudated version of the .NET SDK).
from piral.blazor.
Related Issues (20)
- render exception using an injected viewmodel HOT 2
- blazor.boot.json not found HOT 4
- Uncaught Error: Collection was modified HOT 1
- piral-adal not working with blazor from app-shell HOT 8
- Event listener is not removed HOT 4
- Duplicated config generation HOT 2
- SupplyParameterFromQuery Binding HOT 9
- Custom NpmRegistry: Sequence contains no elements HOT 1
- PiralQueryParameter availablility HOT 2
- Dynamic Propertybindig for Extensions HOT 2
- Visual Studio Breakpoints Issue HOT 1
- link target blank handling HOT 2
- Pilet start from IDE broken HOT 1
- Add support for the @layout attribute and nested routes HOT 1
- [.NET 8.0] Breakpoints not hit HOT 12
- Debugging of Referenced Project Assemblies HOT 1
- Since upgrade to .NET 8 localization is broken HOT 2
- Rerendering extensions when parameters change HOT 2
- Single entrypoint per pilet HOT 1
- Piral Extension Components do not render when used inside MudDialog HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from piral.blazor.