Git Product home page Git Product logo

omi-mp-create-cli's Introduction

Fork 来自 omi-mp-create(原westore的进化版本)

官方

  • 极小却精巧的小程序框架,对小程序入侵性几乎为零,提供中心化或者去中心化,或混用
  • 全局变量不需要在组件和页面声明data依赖,修改全局变量会刷新所有页面和组件(中心化)
  • 修改全局变量不需要再setData,会在View层自动实现最短路径进行渲染,性能上一个档次。(中心化)

优化和加入了一些优秀的插件

  • 创建store目录,提供类似vuex集中数据管理的开发体验,多人协作开发划分模块代码互不影响
  • 添加了regeneratorRuntime,wxp封装小程序所有Api,可在原生中直接用async await语法糖
  • 使用promise封装了原生get,post请求,支持async await then语法糖,配合store,开发体验更愉悦

  • 项目中包含中心化和去中心化demo方案
  • pages/index/index 路径为中心化(推荐,配合stroe目录提供类vuex的集中数据管理)
  • pages/other/other 路径为去中心化(具体可以查看官方文档)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.