andrewdavey / andrewdavey/cassette
Specifying the order inline scripts are rendered on the page
Open
- Dominant language
- C#
- Stars
- 531
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
Apologies if there is a way of doing this, I just haven't figured it out. :)
I have a scenario whereby I have a razor layout page and a view with inline scripts in both. However I want the inline script in the view to be rendered above the script in the layout page (both are tracking tags, one needs to appear above the other). I could solve this by specifying a page location but I'd like a more elegant solution - perhaps by specifying a sort order / index in the AddInlineScript tag?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.