Giter Club home page Giter Club logo

Comments (8)

savoygu avatar savoygu commented on May 23, 2024

https://vue-loader-v14.vuejs.org/zh-cn/configurations/pre-processors.html

image

这个项目中是这样配置的:https://github.com/mini-mpvue/mpvue-douban/blob/master/build/utils.js#L68-L79

from mpvue-douban.

savoygu avatar savoygu commented on May 23, 2024

image
这样的写法用到的是这个:https://github.com/zgabievi/sass-bem

from mpvue-douban.

jilaokang avatar jilaokang commented on May 23, 2024

好的,非常感谢!

from mpvue-douban.

javanf avatar javanf commented on May 23, 2024

export default { config: { enablePullDownRefresh: true } }
您好,为什么我在main.js里面配置了enablePullDownRefresh: true,没有生效了???

from mpvue-douban.

savoygu avatar savoygu commented on May 23, 2024

image
@javanf 如果配置了并且是生效的,会出现上图的效果(支持下拉,并且有loading的效果),这个配置只是触发行为,具体的数据获取动作还是要通过 onPullDownRefresh 实现,可以看下 src/page/list,里面有相关的例子

from mpvue-douban.

javanf avatar javanf commented on May 23, 2024

恩,全局json里面配置是有loading的,但是main.js单个页面配置是没有效果的,list页面有写onPullDownRefresh方法,同样没有loading,所以也没有触发。

from mpvue-douban.

savoygu avatar savoygu commented on May 23, 2024

可以看一下这些 Issues:
mpvue issues

from mpvue-douban.

javanf avatar javanf commented on May 23, 2024

非常感谢,mpvue-loader版本问题,已经解决。

from mpvue-douban.

Related Issues (11)

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.