1.0.1 • Published 3 years ago
@wx-shy/app-env v1.0.1
@wx-shy/app-env
微信小程序发布环境获取方案
安装
npm install @wx-shy/app-env
如何使用
import { getEnv } from "@wx-shy/app-env";
// 获取小程序当前发布环境:develop、staging、release
const appEnv = getEnv();
微信小程序发布环境获取方案
npm install @wx-shy/app-env
import { getEnv } from "@wx-shy/app-env";
// 获取小程序当前发布环境:develop、staging、release
const appEnv = getEnv();