Giter VIP home page Giter VIP logo

wxml-loader's People

Contributors

cap32 avatar jimexist avatar jinker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wxml-loader's Issues

wxml报错

运行webpack报错
ERROR in ./src/pages/detail/detail.wxml
Module not found: Error: Can't resolve '../../icons/{{icons[key]}}.svg' in '……/src/pages/detail'
@ ./src/pages/detail/detail.wxml
跟路径无关,好像是不能识别{{icons[key]}},也不知道是不是此插件造成的,能否帮忙定位一下?

wxml压缩有问题

minimize开启时,<button>内的标签被移到后面去了
eg:

<button class="origin line feedback" hover-class="none" open-type="contact">
    xxxxx
    <image class="go-next" src="/static/common/next.png" />
</button>

开始minimize后

<button class="origin line feedback" hover-class="none" open-type="contact">xxxxx</button><image class="go-next" src="../../static/common/next.png"/>

设置了pulicPath 后静态资源前缀会增加 ./

hi。
我现在 希望做build 的时候 把静态资源自动上传到七牛云去, 设置了webapck publicPath 后发现生成
代码前缀 发现前面 带了./ 调试后发现 是wxml-loader那边有处理 看能否加一个开关 人为控制是否 需要加./
image
image

编译form map 最小化导致属性丢失

编译form变成了这个样子

<form bindsubmit="submitForm" report-submit="true">
to
<form report-submit="">

编译map变成了这样子

<map id="map" controls="{{controls}}"></map>
to
<map id="map" controls></map>

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.