Giter Club home page Giter Club logo

smallsonline.blazor.components's Introduction

Smalls.Online Razor Components

Razor components to house commonly used web components in my Blazor projects. It is the Razor equivalent to my component library for ReactJS projects (@Smalls1652/react-smallsonline-core)

If you want to see the test app in action you can visit it here:

๐Ÿงฐ What does this consist of?

This component library is utilizing Bootstrap and wrapping specific CSS classes into usable Razor components. The intention of making this component library is to make implementing the UI easier and to keep the UI consistent across various different projects. The goal is to keep it in line with what I'm doing in the ReactJS version of this.

๐Ÿ—๏ธ Building

Prerequisites

  • .NET 6 SDK
  • PowerShell 7 (or higher)
    • Install instructions:
    • PowerShell is needed for build scripts in the test project.
  • NodeJS/NPM
    • NPM is needed for installing/updating Bootstrap into the test project.

Initializing project

To initialize both the component library and the test app, run the following in a PowerShell console (pwsh):

# Either of these commands are valid:

# Using the parameter to directly specify
.\init.ps1 -Project "ComponentLibraryAndTestApp"

# Using the default parameter values:
.\init.ps1

To initialize only the component library, run:

.\init.ps1 -Project "ComponentLibrary"

Build

To build both the component library and the test app, run the following in a PowerShell console (pwsh):

# Either of these commands are valid:

# Using the parameter to directly specify
.\build.ps1 -Project "ComponentLibraryAndTestApp"

# Using the default parameter values:
.\build.ps1

To build only the component library, run:

.\build.ps1 -Project "ComponentLibrary"

In addition you can add the -Config parameter to select a config type (Either Release or Debug). By default it uses the Release config.

# Build the component library using the 'Debug' config.
.\build.ps1 -Project "ComponentLibrary" -Config "Debug"

# Build the component library and the test app using the 'Release' config.
.\build.ps1 -Project "ComponentLibraryAndTestApp" -Config "Release"

smallsonline.blazor.components's People

Contributors

smalls1652 avatar

Watchers

 avatar  avatar  avatar

smallsonline.blazor.components's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.