Add resources to your application
You can either:
- Add resources to your Sitefinity CMS project - resources (scripts or styling) apply only to the current project
- Add resources to an external class library - you can reuse the resources (scripts or styling) in different projects or applications
NOTE: If you add resources to the external library, you must add them as embedded resources, otherwise you cannot reference them from other Sitefinity CMS projects.
When you add the scripts as embedded resources, they are always combined automatically in a single file along with Sitefinity's default resources (files, CSS, and scripts) and you can easily download and use them together.
When you add resources as as content items, they are loaded as a separate file in the browser.
You can link embed resources to a widget using the ResourceLinks widget. For more information, see Utility widgets: ResourceLinks widget.