How to use components react

Before we use components to create components, just create a new xxxxx .js file in the src

 

Then the assembly is introduced into the inside index.js

 

Guess you like

Origin www.cnblogs.com/tlfe/p/12574464.html