Giter Site home page Giter Site logo

mpvue中能正常使用吗 about wemark HOT 6 CLOSED

toobug avatar toobug commented on May 18, 2024
mpvue中能正常使用吗

from wemark.

Comments (6)

TooBug avatar TooBug commented on May 18, 2024

不太清楚mpvue的情况。欢迎提供更具体的环境、使用方式和报错信息。

from wemark.

flytam avatar flytam commented on May 18, 2024

@TooBug 应该是原生小程序的wxml写法和vue里面有的不兼容,我尝试根据你的库看看能不能封装个mpvue的版本出来

from wemark.

TooBug avatar TooBug commented on May 18, 2024

好的,有进度欢迎同步,也欢迎PR。

from wemark.

flytam avatar flytam commented on May 18, 2024

@TooBug 链接。这是我这边对你的库适配mpvue做的npm包,主要做了几步:1、把remarkable.js重新打包成ES版本,mpvue默认脚手架是wepack2不支持es commonjs混用 2、把wxml和小程序js层不兼容vue的写法兼容了下。我自己试了下基本可用。

from wemark.

TooBug avatar TooBug commented on May 18, 2024

收到,辛苦!

我晚点研究一下,还没有用mpvue写过小程序。issue先保持open,回头我再把mpvue的支持集成过来。

from wemark.

TooBug avatar TooBug commented on May 18, 2024

2.0做成了自定义组件,经测试可以在mpvue中使用。

from wemark.

Related Issues (20)

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.