uniapp vue3 webpack -> vue3 vite
1、js写法COMMON JS ->ES MODULES
引入第三方依赖, require -> import
2、环境变量
process.env -> import.meta.env(VITE开头)
3、TypeError: Right-hand side of 'instanceof' is not an object
props: {
dataList: {
type: Array | Null -> Object
}
}
4、vite严格使用小程序组件, view image text....