resources element

The resources node in the component manifest refers to the resource file that components require to implement it's visualization.

Available for

Model-driven apps and canvas apps (public preview)

Parent Elements

Element Description
control Defines the component's namespace, version and display information.

Child Elements

Element Description Occurrences
code Refers to the path where the resource files are located. 1
css CSS describes how code components are to be displayed on UI. 0 or more
img The img webresource allows you to add images for the code components. 0 or more
html Use HTML webresources to create user interface elements for client extensions. 0 or more
resx The resx webresource is used to manage the localized strings you define. 0 or more

Example

<resources>
  <code path="JS_HelloWorldControl.js" order="1" />
<css path="css/JS_HelloWorldControl.css" order="1" />
		</resources>

Power Apps component framework manifest schema reference
Power Apps component framework API reference
Power Apps component framework overview