piral-blazor 0.15.3-beta.4970 → 0.15.3-beta.4975
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -67,8 +67,8 @@ Blazor with Piral works from two sides. We have the app shell's side and the sid
|
|
|
67
67
|
The diagram has the following pieces:
|
|
68
68
|
|
|
69
69
|
1. Your app shell using `piral`, which needs to reference the `piral-blazor` plugin. Effectively, this will use the `blazor` package at build-time to include the Blazor libraries. Additionally, it uses `Piral.Blazor.Core` to be able to reference the defined Blazor components.
|
|
70
|
-
2. The TypeScript file in your Blazor pilets. That file will export the `setup` function to define which Blazor components to register
|
|
71
|
-
3. The Blazor code in your Blazor pilets using the shared library `Piral.Blazor.Utils` for some convenience functions. This code will define all the Blazor components that can be registered
|
|
70
|
+
2. The TypeScript file in your Blazor pilets. That file will export the `setup` function to define which Blazor components to register/use in your app shell.
|
|
71
|
+
3. The Blazor code in your Blazor pilets using the shared library `Piral.Blazor.Utils` for some convenience functions. This code will define all the Blazor components that can be registered/used in the pilet.
|
|
72
72
|
|
|
73
73
|
Naturally, you can add other dependencies to your Blazor pilet, too. These can be other npm packages for extending the JS part. Usually, however, you will add more NuGet packages to enhance your Blazor code.
|
|
74
74
|
|
|
@@ -82,7 +82,7 @@ The following functions are brought to the Pilet API.
|
|
|
82
82
|
|
|
83
83
|
Adds the URLs to additional DLLs that need to be referenced for obtaining the Blazor components. At best this uses `require.resolve` to get the URL from the bundler.
|
|
84
84
|
|
|
85
|
-
When you use the `blazorpilet` template you don't need to fill
|
|
85
|
+
When you use the `blazorpilet` template you don't need to fill/use this. It is automatically used and filled with generated code. Only touch this one if you know what you are doing.
|
|
86
86
|
|
|
87
87
|
### `fromBlazor()`
|
|
88
88
|
|
|
@@ -133,7 +133,7 @@ export function setup(piral: PiletApi) {
|
|
|
133
133
|
|
|
134
134
|
In this case, you'll also have to install the `blazor` package. `piral-blazor` will use this under the hood to access the Blazor libraries.
|
|
135
135
|
|
|
136
|
-
To maximize compatibility, the major and minor version of the `blazor` package should correspond to the major and minor version of .NET Blazor you want to use (e.g
|
|
136
|
+
To maximize compatibility, the major and minor version of the `blazor` package should correspond to the major and minor version of .NET Blazor you want to use (e.g., `blazor@3.2.x` will resolve to the .NET Blazor `3.2` release train). It should be noted that the patch level is not aligned. If a specific patch level is desired, consult the `blazor` package documentation.
|
|
137
137
|
|
|
138
138
|
:::
|
|
139
139
|
|
|
@@ -156,7 +156,7 @@ const instance = createInstance({
|
|
|
156
156
|
```
|
|
157
157
|
`piral-blazor` will use `blazor` under the hood to access the Blazor libraries.
|
|
158
158
|
|
|
159
|
-
To maximize compatibility, the major and minor version of the `blazor` package should correspond to the major and minor version of .NET Blazor you want to use (e.g
|
|
159
|
+
To maximize compatibility, the major and minor version of the `blazor` package should correspond to the major and minor version of .NET Blazor you want to use (e.g., `blazor@3.2.x` will resolve to the .NET Blazor `3.2` release train). It should be noted that the patch level is not aligned. If a specific patch level is desired, consult the `blazor` package documentation.
|
|
160
160
|
|
|
161
161
|
:::
|
|
162
162
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piral-blazor",
|
|
3
|
-
"version": "0.15.3-beta.
|
|
3
|
+
"version": "0.15.3-beta.4975",
|
|
4
4
|
"description": "Plugin for integrating Blazor components in Piral.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"piral",
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"piral-core": "0.15.3-beta.
|
|
70
|
+
"piral-core": "0.15.3-beta.4975"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"blazor": "*"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "5cf09cee48aa723ebe3fa9e48a98ff118f3cb6dc"
|
|
76
76
|
}
|