# Weapp Components Manager **Repository Path**: microkof/Weapp-Components-Manager ## Basic Information - **Project Name**: Weapp Components Manager - **Description**: Manage Weapp Components for reducing the size of Weixin MiniProgram components. - **Primary Language**: JavaScript - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-06-04 - **Last Updated**: 2022-07-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Introduction This is a GUI executable program for Windows, MacOS and Linux. Because Weixin MiniProgram strictly limits the size of the code, so I created this project, Weapp Components Manager, for reducing the size. This project can automatically analyze dependencies based on components you choose. For example, Vant Weapp, a famous weapp library, it contains dozens of components, and if you only need two of them, this project will automatically help you analyze the dependencies of these two components, and eventually you may only need to use about five components. ![Screenshot](src/assets/screenshot/1.png) ![Screenshot](src/assets/screenshot/2.png) # Principles To traverse each file of your selected components, analyze the source code of every files and find out their dependencies, finally copy these dependencies and your selected components to your 'Components Dir'. # Supporting libraries - [Vant Weapp](https://youzan.github.io/vant-weapp/) - [iView Weapp](https://weapp.iviewui.com/docs/guide/start) - [Wux Weapp](https://wux-weapp.github.io/wux-weapp-docs/#/introduce) - [Wuss Weapp](https://phonycode.github.io/wuss-weapp/) - [kai-ui](https://chaunjie.github.io/kui/dist/#/start) # Supporting OS - Windows 7 and up - MacOS - Linux # Technology Electron + Element-UI + webpack + ES6/7 + axios + sass + Flex # Build program Notice, please use `yarn` instead of `npm`, because electron officially recommends the yarn package manager as it handles dependencies much better and can help reduce final build size with yarn clean. If you used to using `cnpm`, you can run `yarn config set registry https://registry.npm.taobao.org` and use `yarn`. ``` git clone https://gitee.com/microkof/Weapp-Components-Manager.git cd weapp-components-manager yarn yarn e:build ``` After run `yarn e:build`, you can find **weapp-components-manager Setup 1.1.0.exe** file from project's **dist_electron** folder, double click this file, installing will start. You can also find **weapp-components-manager.exe** file from project's **dist_electron/win-unpacked** folder. Enjoy it! # License GPL