Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
multi-terminal
Advanced tools
注意:本工程为脚手架内置的用于转换小程序代码的工具,生成的代码只能放置在客户端内运行,如果想让生成的代码在浏览器中运行,请使用weweb
# 安装
npm i -g hera-weweb
# 打包小程序
## 请注意,请勿在小程序所在目录下使用
## 以防生成的文件与小程序代码混在一起
hweweb projectDir -d distDir
# 查看生成的文件
ls distDir
# 运行
## 将生成的文件放置在客户端代码中
## Android:AndroidDemo/src/main/assets/demoapp.zip
## iOS:iOSDemo/demoapp.zip
# 安装依赖
npm i
# 开发framework
npm run dev
# build framework
npm run build
# 打包framework (打包之前先build)
./bin/weweb -b
# 打包demo
./bin/weweb ./demo
module.exports = {
extApi:[
{//普通交互API
name: 'openLink',//扩展api名 该api必须Native方实现了
params: { //扩展api 的参数格式,可以只列必须的属性
url: ''
}
}
]
}
# 打包framework (打包之前先build)
./bin/weweb -b
# 运行
# 打包demo
./bin/weweb ./demo
小程序转h5 weweb的命令实现前期参考了wept项目的实现,目前有部分代码也是沿用了wept的或在这基础上改造而来。在此,特别感谢wept的作者 chemzqm 的无私奉献
如果你有好的意见或建议,欢迎给我们提 issue 或 PR,为优化 hera 贡献力量
FAQs
wx 2 app
The npm package multi-terminal receives a total of 13 weekly downloads. As such, multi-terminal popularity was classified as not popular.
We found that multi-terminal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.