All Projects → BakerJQ → WeAppBunXin

BakerJQ / WeAppBunXin

Licence: other
微信小程序开发之影分身术 - 一套代码生成多个小程序

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Labels

Projects that are alternatives of or similar to WeAppBunXin

weui-scalajs
write WeApp with scalajs
Stars: ✭ 18 (-62.5%)
Mutual labels:  weapp
zuchemini
微信小程序,租车小程序,租车公司预约小程序
Stars: ✭ 41 (-14.58%)
Mutual labels:  weapp
we-rich
HTML转微信富文本节点, we just need rich, no text.
Stars: ✭ 36 (-25%)
Mutual labels:  weapp
weapp-OpenRadio
A base music weapp named OpenRadio for wechat. Can use on weapp getting started.
Stars: ✭ 14 (-70.83%)
Mutual labels:  weapp
jh-weapp-demo
微信小程序项目- 实现一些常用效果、封装通用组件和工具类
Stars: ✭ 60 (+25%)
Mutual labels:  weapp
yudao
遇岛日记/微信小程序/开源代码
Stars: ✭ 16 (-66.67%)
Mutual labels:  weapp
wechat-webapp-douban-location
微信小程序开发之豆瓣同城
Stars: ✭ 73 (+52.08%)
Mutual labels:  weapp
mobx-wxapp
在小程序中使用mobx
Stars: ✭ 54 (+12.5%)
Mutual labels:  weapp
weapp-saucenao
微信小程序: 识图娘
Stars: ✭ 19 (-60.42%)
Mutual labels:  weapp
mall-app
youlai-mall 微信小程序/H5/Android/iOS 移动应用端,uni-app终极跨平台前端框架。
Stars: ✭ 75 (+56.25%)
Mutual labels:  weapp
mpapi
🐤 小程序API兼容插件,一次编写,多端运行。支持:微信小程序、支付宝小程序、百度智能小程序、字节跳动小程序
Stars: ✭ 40 (-16.67%)
Mutual labels:  weapp
vscode-wxml
Wechat wxml support and wxml code snippets for VSCode
Stars: ✭ 19 (-60.42%)
Mutual labels:  weapp
egg-weapp-sdk
Egg的微信小程序登录会话管理SDK
Stars: ✭ 111 (+131.25%)
Mutual labels:  weapp
mini-programm-template
基于原生微信小程序的一般般好用的模板
Stars: ✭ 35 (-27.08%)
Mutual labels:  weapp
wxml-vscode
👾Vscode plugin -- wechat applets formatting and highlighting components (highly customized)
Stars: ✭ 31 (-35.42%)
Mutual labels:  weapp
jgb
小程序渐进式编译框架
Stars: ✭ 21 (-56.25%)
Mutual labels:  weapp
taro-icons
基于 Taro 的小程序图标库
Stars: ✭ 53 (+10.42%)
Mutual labels:  weapp
wx-statuslayout
微信小程序页面状态切换组件
Stars: ✭ 24 (-50%)
Mutual labels:  weapp
Gitter
Gitter for GitHub - 可能是目前颜值最高的GitHub微信小程序客户端
Stars: ✭ 3,555 (+7306.25%)
Mutual labels:  weapp
weapp wechat miniapp sdk
一个封装了微信小程序服务端接口的SDK
Stars: ✭ 102 (+112.5%)
Mutual labels:  weapp

介绍

小程序开发之影分身术

本仓库提供的是一套代码生成多个小程序的一种解决方案。

有时候,我们可能会遇到如下场景:需要开发多个小程序,而这些小程序的功能大致相同,部分功能存在差异化,界面样式也存在差异化。出现这种情况最常见的场景一般是,提供给多个客户主要功能相同的、但是有小程度的定制化的多个小程序。

这种情况下如果分别维护多套小程序代码,是一件很头疼的事。

该仓库所提供的解决方案,就是尽量在该场景下,只维护一套核心代码,生成多套小程序。

该项目基于 Taro 框架进行开发。感谢凹凸实验室的开源精神。

环境

开发环境的搭建请参考: Taro 安装及使用

使用方式

修改config/channel.js内的channel字段,该项目可用"channel1"、"channel2"、"channel3"。

Clone代码到本地后,根据Taro官方文档执行编译。或运行package.json中的

"dev:weapp": "npm run build:weapp -- --watch"

使用小程序开发工具打开生成的dist_channel1目录(如果channel.js内配置的是channel2,则为dist_channel2目录)

具体使用请参考文章:小程序开发之影分身术

License

WeAppBunXin is released under the Apache 2.0 license.

Copyright 2019 BakerJ.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at following link.

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].