Skip to content

taro-online-hooks是一款多端开源在线教育,后台是基于(https://github.com/wenjianzhang/go-admin go语言)基础上进行开发,前端采用Taro框架编写,使用hooks全新api,未来将对各类小程序、H5移动端、app进行适配

whowrongswhere/taro-online-hooks

Repository files navigation

Taro简介

github地址: https://github.com/NervJS/taro Taro 是由凹凸实验室打造的一套遵循 React 语法规范的多端统一开发框架。 Taro-UI: https://taro-ui.aotu.io/#/docs/introduction

解决依赖问题

rm -rf node_modules && npm install

微信小程序编译预览模式:

npm script

npm run dev:weapp

或 仅限全局安装

taro build --type weapp --watch

#npm run build

H5编译预览模式:

npm script

npm run dev:h5

或 仅限全局安装

taro build --type h5 --watch

部分截图展示

进入项目目录开始开发,可以选择小程序预览模式,或者h5预览模式,若使用微信小程序预览模式,则需要自行下载并打开[微信开发者工具]选择预览项目根目录。

开发前注意

若使用 微信小程序预览模式 ,则需下载并使用微信开发者工具添加项目进行预览,此时需要注意微信开发者工具的项目设置

  • 需要设置关闭ES6转ES5功能,开启可能报错
  • 需要设置关闭上传代码时样式自动补全,开启可能报错
  • 需要设置关闭代码压缩上传,开启可能报错

开发记录

2020-05-08 项目初始化

About

taro-online-hooks是一款多端开源在线教育,后台是基于(https://github.com/wenjianzhang/go-admin go语言)基础上进行开发,前端采用Taro框架编写,使用hooks全新api,未来将对各类小程序、H5移动端、app进行适配

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published