BlazorJS 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BlazorJS --version 1.0.0                
NuGet\Install-Package BlazorJS -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BlazorJS" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BlazorJS --version 1.0.0                
#r "nuget: BlazorJS, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BlazorJS as a Cake Addin
#addin nuget:?package=BlazorJS&version=1.0.0

// Install BlazorJS as a Cake Tool
#tool nuget:?package=BlazorJS&version=1.0.0                

BlazorJS

BlazorJS is a small package to use a Scripts Component on every page or component to load JavaScript files when not loaded, and unload automatically.

Using

Add the nuget Package BlazorJS to your blazor project

Open _Imports.razorfrom your project and add using for BlazorJS

...
@using BlazorJS

Now your are able to include every javascipt file easily to your pages or components. For example open any page like the index.razor and add

<Scripts src="js/myjsfile.js"></Scripts>
Include multiple javascript files

Multiple js files can be loaded with a comma seperator ,

<Scripts src="js/myjsfile.js, js/myjsfile2.js"></Scripts>
Planned Features

Notice this is an early first version of an idea to load and unload javascript dependencies for pages and components. Generel it is planned to enable easy bundling and minification

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on BlazorJS:

Package Downloads
MudBlazor.Extensions

MudBlazor.Extensions is a small extension library for MudBlazor from https://mudblazor.com/

AuralizeBlazor

AuralizeBlazor is a wrapper component for audioMotion-analyzer.

MudExRichTextEditor

MudExRichTextEditor is a custom reusable control that allows us to easily consume Quill combining in a MudBlazor project.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on BlazorJS:

Repository Stars
fgilde/MudBlazor.Extensions
MudBlazor.Extensions from https://www.mudex.org is a small extension for MudBlazor from https://mudblazor.com
Version Downloads Last updated
2.1.6 12,135 6/28/2024
2.1.5 28,299 2/2/2024
2.1.4 10,679 11/25/2023
2.1.3 135 11/24/2023
2.1.2 5,458 11/2/2023
2.0.9 7,250 9/13/2023
2.0.8 3,394 7/29/2023
2.0.7 216 7/28/2023
2.0.6 1,053 7/14/2023
2.0.5 361 6/13/2023
2.0.4 9,221 4/21/2023
2.0.3 5,026 3/2/2023
2.0.2 1,361 2/15/2023
2.0.1 308 2/8/2023
2.0.0 2,777 1/23/2023
1.0.4 2,371 12/9/2022
1.0.3 326 12/9/2022
1.0.2 324 12/9/2022
1.0.1 361 11/19/2022
1.0.0 592 2/3/2020
0.1.0-preview.200127215053 305 1/28/2020