Comments (8)
https://vue-loader-v14.vuejs.org/zh-cn/configurations/pre-processors.html
这个项目中是这样配置的:https://github.com/mini-mpvue/mpvue-douban/blob/master/build/utils.js#L68-L79
from mpvue-douban.
这样的写法用到的是这个:https://github.com/zgabievi/sass-bem
from mpvue-douban.
好的,非常感谢!
from mpvue-douban.
export default { config: { enablePullDownRefresh: true } }
您好,为什么我在main.js里面配置了enablePullDownRefresh: true,没有生效了???
from mpvue-douban.
@javanf 如果配置了并且是生效的,会出现上图的效果(支持下拉,并且有loading的效果),这个配置只是触发行为,具体的数据获取动作还是要通过 onPullDownRefresh
实现,可以看下 src/page/list
,里面有相关的例子
from mpvue-douban.
恩,全局json里面配置是有loading的,但是main.js单个页面配置是没有效果的,list页面有写onPullDownRefresh
方法,同样没有loading,所以也没有触发。
from mpvue-douban.
可以看一下这些 Issues:
mpvue issues
from mpvue-douban.
非常感谢,mpvue-loader版本问题,已经解决。
from mpvue-douban.
Related Issues (11)
- 你的api是你本地的 HOT 6
- 这个能用微信开发者工具开发吗 HOT 1
- ReferenceError: __w is not defined HOT 9
- 我用mpvue在渲染json第三层数据的时候渲染不出来,第二层可以
- import error HOT 1
- 在启动页banner点击【立即体验】,页面没有反应 HOT 1
- mpvue-loader版本问题 HOT 1
- 未找到入口 app.json 文件 HOT 4
- request:fail invalid url "/coming_soon?start=0&count=3" HOT 1
- 接口返回 invalid_apikey HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpvue-douban.