The invention provides a component
processing method and a related device, and relates to the field of component creation and management. In the application, a component
processing instruction can be responded, an initial component is created, basic
library dependency of the initial component is configured, the basic
library dependency is integrated into the initial component to obtain a target component, and a code and a configuration file of the target component are pushed to a newly-built component private
library. Configuring a component version number of the target component, pushing the component version number to the component private library, creating a component index library on a local
server, verifying an environment index of the component index library, if the
verification is passed, adjusting the configuration file, and if the
verification is not passed, adjusting the configuration file. And establishing an association relationship between the component index library and the component private library, and pushing the adjusted configuration file to the component index library. According to the invention, the automatic creation and management of the component can be realized, and compared with a manual mode, the efficiency can be improved.