Home > Article > Web Front-end > How to use the uniapp plug-in market
As one of the most popular cross-platform development frameworks, uniapp is convenient and fast, and its plug-in market provides developers with more flexible and diverse development methods. In this article, we will introduce in detail how to use the uniapp plug-in market to help developers get started quickly.
1. The entrance to the plug-in market
First of all, we need to correctly find the entrance to the plug-in market. The entrance to the plug-in market of uniapp is on the plug-in management page. The steps to open it are as follows:
1. Open your uniapp project in HBuilderX
2. Right-click the project folder, select "Tools", and then click "Plugins" Installation and Management"
3. In the pop-up window, you can see the entrance to the plug-in market "Plug-in Market"
2. Use of the plug-in market
1. Search for plug-ins
In the plug-in market, developers can search for the plug-ins they need by keywords.
As shown in the figure below, enter "echarts" in the search box, and the relevant echarts plug-in will appear.
(Figure 1 Search plug-in)
2. Install plug-in
After finding the required plug-in, you can download and install it through the "Install" button.
(Figure 2 Installing the plug-in)
If you are using HbuilderX or installing in Hbuilder, it is recommended to use npm --save to install for easy upgrade and management;
If You are using uniapp's online packaging. It is recommended to use the plug-in installed in uniapp's official HBuilderX.
3. View installed plug-ins
Plug-ins downloaded using the plug-in market will appear in the list of installed plug-ins.
(Figure 3 View installed plug-ins)
4. Update plug-ins
When the updated version of the plug-in is released, developers can see the update information in the installed plug-ins. , can also be updated via the "Update" button.
As shown in the figure below, in the plug-in installed list, you can see the notification that the plug-in needs to be updated. Click Update to perform the update operation.
(Figure 4 Update plug-in)
It is worth reminding that the update frequency of each plug-in is different. If it is not particularly necessary, it is recommended not to update the plug-in frequently to avoid unnecessary trouble.
5. Uninstall the plug-in
If the developer no longer needs a plug-in, he can uninstall it through the "Delete" button.
(Figure 5 Uninstall plug-in)
Conclusion
The plug-in market provides uniapp developers with convenient and fast plug-in download, installation, update and uninstall services, which can greatly improve development Efficiency and convenience. I hope this article can help you. If you have any questions, please leave a message.
The above is the detailed content of How to use the uniapp plug-in market. For more information, please follow other related articles on the PHP Chinese website!