Skip to content

yamachu/BlazorWithReactSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlazorWithReactSample

Reactアプリケーション内にBlazor Componentを導入するサンプルアプリケーションです。

Blazor ComponentからReactで使えるコードを生成する箇所は https://github.com/aspnet/samples を使用しています。

How To Run

Required

  • .NET 6.0
  • yarn
  • Node 16.x
  • git

Initialize

# Blazor ComponentをJSから呼び出すコードを生成するBuilderの生成と、Reactアプリケーションをビルドするための環境を構築
$ make init

Build Blazor Component

# watchモードでBlazorアプリケーションのビルドを行う
$ make watch/Blazor

Build React

# watchモードでReactアプリケーションのビルドを行う
$ make watch/React

Preview

# http://localhost:5000 などでホスティングする
$ make preview

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published