![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信小程序
文章平均质量分 68
lliuyaxin
这个作者很懒,什么都没留下…
展开
-
微信小程序开发框架WePY的创建过程及遇到的问题
1、安装wepy命令行工具 npm install wepy-cli -g 如果出现以下问题: 解决方法: npm cache clean --force npm install wepy-cli -g 2、创建wepy项目my-project(wepy版本1.7.0以后) wepy init standard my-project 如果出现以下问题: 解决方法: 在C:\Window...原创 2019-04-17 15:58:37 · 751 阅读 · 0 评论 -
微信小程序云开发通过npm安装vant提示没有找到node_modules解决方案
(1)npm init (2)npm install --production (3)npm i vant-weapp -S --production 在 在微信开发者工具出现: 保证在微信开发工具中已勾选使用npm模块: 构建npm:原创 2019-04-17 19:12:23 · 1217 阅读 · 0 评论 -
微信小程序中将数据上传到云数据库的两种方式
一、 wx.cloud.init({}) const db = wx.cloud.database() const productsCollection = db.collection(‘products’) Page({ data:{ }, addData:function(event){ console.log(event) productsCollection.add({ data: { ...原创 2019-04-18 09:47:46 · 8476 阅读 · 0 评论 -
微信小程序云开发中关于触底自动加载的问题
//index.json //index.js原创 2019-04-18 22:43:35 · 933 阅读 · 0 评论