Skip to content

Latest commit

 

History

History

IgBlazorSamples.Gulp

Introduction

This project allows copying of Blazor samples (.razor, .cs, .js) to Blazor browsers

Copying Samples to IgBlazorSamples.Client

Run gulp copySamplesToClient command to copy samples from:

  • ../../samples/**/App.razor files and
  • ../../samples/**/*Data.cs files and
  • ../../samples/**/wwwroot/*.js files to
  • ../../browser/IgBlazorSamples.Client/ folder

Then open ../../browser/IgBlazorSamplesBrowser.sln

Run IgBlazorSamples.Client as startup project

Copying Samples to IgBlazorSamples.Server

Run gulp copySamplesToServer command to copy samples from:

  • ../../samples/**/App.razor files and
  • ../../samples/**/*Data.cs files and
  • ../../samples/**/wwwroot/*.js files to
  • ../../browser/IgBlazorSamples.Server/ folder

Then open ../../browser/IgBlazorSamplesBrowser.sln

Run IgBlazorSamples.Server as startup project