In the Tutorial MVC you have the actual file to be changed when creating the widget NumberWidget from tutorial. But on the Core version it does not say where to add this code [assembly: RegisterWidget(@LearningKit.Widgets.NumberWidget@,
@Number selector@,
typeof(NumberWidgetProperties),
customViewName: @~/Components/PageBuilder/Widgets/NumberWidget/_NumberWidget.cshtml@)]I tried to add it in startup.cs or program.cs but it still does not work i cant make the widget appear on my Admin workspace. Can you help me. Thank you!
↧