[solve] what ui framework is used to develop Mini Program and h5 pages with a set of code

Business background

  • customers should make WeChat Mini Programs and official account web pages at the same time
  • the interface is basically the same
  • so I used mpvue to develop

troubles encountered

  • there are many areas that need to be compatible with styles and js
  • such as scrolling pictures, Mini Program has its own components, and h5 must write its own
  • for example, Mini Program"s request is initiated by wx , and h5 needs to refer to another library
  • take a look at weui . The style is limited, not even a scroll picture, and no documentation!
  • tried element-ui and seemed unable to run

question

  • at the ui level, I want to find a framework that can be used between Mini Program and h5
  • .
  • hope to give some advice and take fewer detours

so far, on May 29, 2018, there is no perfect solution. For details, please refer to https://codeshelper.com/q/10.

.
Mar.14,2021

Mint-ui-element-ui of mobile version; vue project suitable for mobile


you can use

1. Network request flyio
compatible with Mini Program and h5

2. Move UI
vux.li based on weui

try hard


most expect mint-ui to make a version adapted to Mini Program.
downgrade solution reference: https://codeshelper.com/q/10.

Menu