Component Configuration File
Every component must have a configuration file. The configuration file defines the metadata values for the component, including supported targets and the design configuration for Lightning App Builder and Experience Builder.
The configuration file follows the naming convention
componentName.js-meta.xml, such as
Include the configuration file in your component’s project folder, and push it to your org along with the other component files.
Here’s the simplest configuration file.
For the complete list of elements in the configuration file, see XML Configuration File Elements.
If you don’t include a configuration file for your component, you get an error similar to the following when you push your changes.
Cannot find Lightning Component Bundle <component_name>
- Configure a Component for Lightning App Builder
- Configure a Component for Experience Builder
- XML Configuration File Elements