Home > Back-end >  Load JQuery from DNN in 2sxc13
Load JQuery from DNN in 2sxc13

Time:03-12

Is there a way to load JQuery library from the DNN install in a razor template without loading external links or relative paths to the file? Something like @include(jquery). Even better if it checks if it is already loaded.

CodePudding user response:

If your skin/theme loads query you already have it. Check the available snippets and/or check the included apps to see how the 2sic folks do it.

CodePudding user response:

I think Daniel may have pre-answered your question in this blog post.

Goodbye jQuery - go fetch(...) - 2sxc 12.10

My apologies if I didn't read close enough and missed something. Cheers!

  • Related