limefrogyank / BlazorLibraryAssetHelper

Parses your Blazor project to find javascript and css assets from razor component libraries. Allows you to order the assets and enable them for generation of <link /> and <script /> tags to copy and paste where you want in your html file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OBSOLETE!

This project does really work anymore. If you want to submit a pull request to fix it, please do so!

BlazorLibraryAssetHelper

Parses your Blazor project to find javascript and css assets from razor component libraries. Allows you to order the assets and enable them for generation of <link /> and <script /> tags to copy and paste where you want in your html file.

To Use

  1. Install VSIX from VS extensions.
  2. Open any Blazor project.
  3. Go to View->Other Windows->Blazor Library Asset Helper
  4. If multiple projects, select which project to choose assets for at the top of the window.
  5. Choose JS and CSS files you want to include. Order them using the Up and Down buttons.
  6. Click Generate HTML button and copy/paste the contents to your html file.
  7. Current selections and order will be saved in a file called assetPrefs.xml.

Image 1 of Extension Image 2 of Extension Image 3 of Extension

About

Parses your Blazor project to find javascript and css assets from razor component libraries. Allows you to order the assets and enable them for generation of <link /> and <script /> tags to copy and paste where you want in your html file.

License:MIT License


Languages

Language:C# 100.0%