dotnet-smartcomponents / smartcomponents

Experimental, end-to-end AI features for .NET apps
628 stars 54 forks source link

Consider using ITagHelperComponent for Tag Helper JavaScript #5

Closed DamianEdwards closed 3 months ago

DamianEdwards commented 3 months ago

We could avoid the requirement that users add the <smart-components-script /> element before the closing </body> tag by having the call to builder.AddSmartComponents() register an ITagHelperComponent implementation as described here.

SteveSandersonMS commented 3 months ago

Oh cool, thanks! I'll do that.

SteveSandersonMS commented 3 months ago

Done