Skip to content
#

weui

Here are 120 public repositories matching this topic...

MonsterGoGoGo
MonsterGoGoGo commented Apr 15, 2020

我的vue.config.js配置

  configureWebpack: config => {
    require('@vux/loader').merge(config, {
      plugins: ['vux-ui']
    })
  }

vux及vux-loader版本

"vux": "^2.9.4",
"vux-loader": "^1.2.9"

npm run serve/build 时报错如下内容

Error: [BABEL] unknown: Preset /* your preset */ requires a filename to be set when babel is called directly,

babel.transform(code,

hjshiwbd
hjshiwbd commented Jul 12, 2018

showTab中,点击tab时未能正确的preventDefault()
源码

  $(document).on("click", ".weui-navbar__item, .weui-tabbar__item", function(e) {
    var $a = $(e.currentTarget);
    var href = $a.attr("href");
    if($a.hasClass(ITEM_ON)) return;
    if(!/^#/.test(href)) return;

    e.preventDefault();

    showTab($a);
  });

我修改了下

  $(document).on("click", ".weui-nav

Improve this page

Add a description, image, and links to the weui topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the weui topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.