Using the Net5, You can now reference your scripts on the main layout by overriding the OnAfterRenderAsync . Here is an example.
確定! 回上一頁