hkarami / UseNodeModules

ASP.NET Core middleware to serve files from the node_modules directory in the root of the project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UseNodeModules

ASP.NET Core middleware to serve files from the node_modules directory in the root of the project.

Build status

Installation

    Install-Package OdeToCode.UseNodeModules 

Usage

    public class Startup
    {
        // ...

        public void Configure(IApplicationBuilder app, IHostingEnvironment environment)
        {
            // ...

            app.UseNodeModules(environment);

            // ...
        }
    }

About

ASP.NET Core middleware to serve files from the node_modules directory in the root of the project.

License:MIT License


Languages

Language:C# 90.9%Language:PowerShell 9.1%