BlazeKit.CLI
0.1.0
dotnet tool install --global BlazeKit.CLI --version 0.1.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local BlazeKit.CLI --version 0.1.0
#tool dotnet:?package=BlazeKit.CLI&version=0.1.0
nuke :add-package BlazeKit.CLI --version 0.1.0
BlazeKit - A Meta-Framework for Blazor .NET
BlazeKit provides Meta-framework-like features for Blazor which has been inspired by SvelteKit. BlazeKit currently supports the following set of features:
- 🪧 File-based Routing
- 🖼️ File-based Layouts
- 🤝 File-based API Routes
- 🪄 Auto-Generated Route Parameters
- 📝 Build in Markdown Support for Page Routesa
- ⚡ Reactive primitives inspired by the signals pattern.
💡 BlazeKit is unopinionated about the Blazor Hosting Model. BlazeKit works with either Blazor WebApp or Blazor WebAssembly.
🚀 Getting Started
☝️ Requirements
Before creating your first BlazeKit project, you should ensure that your local machine has:
- .NET 8 - you can find the download here
That's it 👍
✨ Create an app using the CLI
After you have installed the required dependencies, the easiest way to get a project up an running is by using the BlazeKit CLI.
# Install the BlazeKit CLI
dotnet tool install --global BlazeKit.CLI
Now simply create your first BlazeKit project by running the following command
bkit new NextUnicorn
You will be prompted to choose one of the Blazor Hosting Models such as Blazor WebAssembly or Blazor WebApp. Afterwards a BlazeKit app will be created with the choosen hosting model. Next cd into your project folder and start .NET's local development server using the dotnet watch command
cd NextUnicorn
dotnet watch
And here it is, your first BalzeKit project 🎉
🔄️ Updating the BlazeKit CLI
The easiest way to update the BlazeKit CLI is to simply uninstall and reinstall it.
dotnet tool uninstall -g BlazeKit.CLI
dotnet tool install -g BlazeKit.CLI
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
0.1.0 | 220 | 12/13/2023 |
0.1.0-alpha.1 | 104 | 11/18/2023 |