Giter Club home page Giter Club logo

wemin's Introduction

weMin

wepy + MinUI 本项目仅供参考,如有疑问欢迎提issue,我会尽力解决。

min-cli 1.0.7-beta.6, wepy 1.7.0

使用方法

1、clone本项目

2、执行

npm install 

wepy build --watch
  • 如果npm安装报错 可以尝试 yarn大法~

3、在小程序开发工具内新建小程序,并将目录指向dist目录

4、开始体验吧。

如何在已有的wepy项目中使用minui?

1、新建wepy项目(如果已有项目,则跳过)

2、新建配置文件:min.config.json 配置内容:

{
"compilers": {
    "babel": {
      "sourceMaps": "inline",
      "presets": [
        "env"
      ],
      "plugins": [
        "syntax-export-extensions",
        "transform-class-properties",
        "transform-decorators-legacy",
        "transform-export-extensions"
      ]
    }
  }
}

3、再通过 min install @minui/wxc-xxx 命令 安装需要的组件

$ min install @minui/wxc-loading

4、在页面使用,this.$wxpage.selectComponent方法调用(详见index.wpy 以及 minui框架主页)

wemin's People

Contributors

windancer avatar

Watchers

yaloo yang avatar  avatar

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.