thiszhong / wxmp-plugin-uniapp Goto Github PK
View Code? Open in Web Editor NEWuniapp vue2 开发微信小程序插件
uniapp vue2 开发微信小程序插件
const [mode, type] = JSON.parse(process.env.npm_config_argv).cooked[1].split(':');
这行代码报错,无法获取到 process.env.npm_config_argv ,它的值是undefind
打包的内容都是一模一样的,2个文件夹,我不是很理解,我想做成页面,小于1m 倒是还行,大于1m 就*2导致无法上传了,怎么办
uniapp开发的plugin和小程序都使用了vuex
// 插件
// #ifdef MP-WX-PLUGIN
import store from "@/store/index";
// #endif
本地正常,但插件打包上传成功后,在宿主小程序中引入,插件的this.$store指向了宿主小程序的vuex
请问有什么解决方案吗
我在调用uni.requestPayment时,会报错uni.requestPayment is not a function,debugger后发现uni上没有requestPaymen这个api,怎么回事呢?
怎么引入scss呢 安装node-sass运行就报错 node16 node-sass 4.x和6.x 7.x都试了
vue3+vite
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.