Taritsyn / WebMarkupMin

The Web Markup Minifier (abbreviated WebMarkupMin) - a .NET library that contains a set of markup minifiers. The objective of this project is to improve the performance of web applications by reducing the size of HTML, XHTML and XML code.
Apache License 2.0
451 stars 48 forks source link

How to use WebMarkupMin in JavaScriptServices (React template)? #49

Closed thangchung closed 6 years ago

thangchung commented 6 years ago

Hi admin,

I have a very quick question that can I use this lib to minimize the up-front HTML size in the project using JavaScriptServices - React/Redux template? If I can, could you show me how? My project is at https://github.com/thangchung/blog-core/tree/master/src/Hosts/BlogCore.App Thank you in advance.

Taritsyn commented 6 years ago

Hello!

Have you tried to use the WebMarkupMin.AspNetCore2 package? If you did not use this package, then read the following sections of documentation: “ASP.NET Extensions”, “WebMarkupMin: ASP.NET Core 1.X” and “WebMarkupMin: ASP.NET Core 2.X”.

Immediately I warn, that the WebMarkupMin can not minify the JSX code, only the output HTML code.

thangchung commented 6 years ago

@Taritsyn Thank you for your guidance. I will have a look at that documetation. Cheers!