-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Remove inline scripts from project templates #11111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm not aware of any instances of that offhand, was there an inciting incident for this? |
I believe |
@mkArtakMSFT do you have an example? I just searched the repo and didn't see any |
Looks like indeed the current templates don't have a |
It's still not clear to me what the work item is here. The only instance I see of a |
I'm closing this in that case. Thanks for confirming, @ryanbrandenburg |
OK bringing this back up for #14104 (comment) @rynowak says "We already have this, it isn't new", and the suggested fix, fallback is an inline script, specifically
If this is unique to the LinkTagHelper then it only needs fixed there, but if it's a tag helper wide feature then we need to look at every tag helper and change them to use a different approach, like script registration and an output of all the registered scripts in a virtual .js file. |
We should move all the inline scripts (if any) to separate js files.
The text was updated successfully, but these errors were encountered: