Small knowledge, big challenge! This article is participating in the creation activity of “Essential Tips for Programmers”

This article has participated in the “Digitalstar Project” and won a creative gift package to challenge the creative incentive money.

preface

Uni-app, as a multi-end front-end development framework, is relatively user-friendly and ecologically friendly. Its plug-in market can be one of many solutions for different business needs. There are many types of plug-in market.

specification

  1. Format: ‘author ID- plug-in name’, for example: ‘hover-menu’, where author ID and plug-in name can contain only English and numbers
  2. The author ID is customized by the plug-in author. ‘DCloud’, ‘uni’ cannot be used.
  3. The name of the plug-in must directly express the function of the plug-in, such as Menu and button

Front-end component structure

To keep the code simple, you only need to include the necessary files and directories when uploading the plug-in. The plugin folder is components, and inside it is the name of the plugin like ‘hover-menu’.

Release the plugin

Through the uni – appPlug-in marketPublishing plug-ins

The last

Once released, the plugin can be continuously updated and refined by looking at relevant download trends and reviews.