volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Print DojoConfig in HTML

hello,

I'm creating a page basing on this article http://jondjones.com/how-to-create-your-own-episerver-global-menu-section/

and I want to add dojo into this page.

How to print dojoconfig and dojo.js script tag from the episerver settings?

Thank

Fura

#132890
Aug 20, 2015 12:26

Problem solved. Achieved it with this line:

@Html.Raw(DojoConfigurationHelper.ConfigureDojo(null, new DojoConfig { Async = true }))



#132938
Aug 21, 2015 10:10
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.