Mpvue screenshot

Mpvue

Updated: 5 Aug 2019
20367 Stars

基于 Vue.js 的小程序开发框架,从底层支持 Vue.js 语法和构建工具体系。

Overview

Mpvue is a powerful framework designed for developing mini programs using Vue.js. Built as a fork from Vue.js version 2.4.1, it retains the core runtime capabilities of Vue while extending support to various mini program platforms such as WeChat, Baidu, Toutiao, and Alipay. The framework aims to seamlessly integrate the Vue.js development experience into the unique environment of mini programs, making it easier for developers familiar with Vue to create applications in this space.

With the introduction of mpvue 2.0, the framework has solidified its support for multiple mini program platforms while continuing to maintain the stability of its previous version. Mpvue caters to both developers looking to start new projects with updated features as well as those who prefer to continue utilizing the 1.x stable version.

Features

  • Component-Based Development: Facilitates a thorough componentization of applications, enhancing code reusability and maintainability.
  • Complete Vue.js Experience: Leverages the Vue.js framework to deliver a familiar development environment for Vue enthusiasts, ensuring a smooth transition into mini program development.
  • Efficient Vuex Management: Provides a convenient solution for managing application state, making it easier to build complex applications.
  • Webpack Build Mechanism: Offers a customizable build process with support for hot reload during development, optimizing the development workflow.
  • NPM Dependency Usage: Enables the utilization of external dependencies via NPM, allowing developers to incorporate various libraries seamlessly.
  • H5 Code Compilation: Transforms H5 code into mini program target code, expanding the potential for cross-usage and integration.
  • Comprehensive Tooling: Comes with tools like mpvue-loader and mpvue-webpack-target, designed to enhance the development experience and streamline the build process.
  • Quickstart Project Template: Simplifies project initiation with the mpvue-quickstart template, allowing developers to jump straight into development quickly.