Silentdoer

导航

随笔分类 -  uni-app

uni-app零碎总结
摘要:1.通过vue-cli创建的uni-app项目,如果有用到sass,那么node要用12.x版本的,且安装命令是:npm i sass-loader@7 node-sass@4 -D --save,还得安装了Python2.x且设置为Path; 阅读全文

posted @ 2022-06-22 15:31 Silentdoer 阅读(37) 评论(0) 推荐(0)

HBuilderX配置微信开发者工具
摘要:主要是cli下创建的uni-app调试啥的不方便,还是用HBuilderX好一点,可以参考文章:https://blog.csdn.net/qq_42629964/article/details/121293083 阅读全文

posted @ 2022-06-08 11:35 Silentdoer 阅读(228) 评论(0) 推荐(0)

通过控制台创建uni-app vue3+ts项目
摘要:第一步是要先把npm的源地址改成淘宝的,否则命令行创建时巨慢,且会报错,可以看文章:https://blog.csdn.net/weixin_43963309/article/details/121946080 通过这个命令来切换源: npm config set registry https:// 阅读全文

posted @ 2022-06-08 10:34 Silentdoer 阅读(878) 评论(0) 推荐(0)