3 Star 15 Fork 7

kityandhero / taro-fast-framework

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Taro Fast Framework

This project is a repackaging of Taro to quickly build an interface for back-end management projects. Follow is the quick guide for how to use.

Environment Prepare

setp 1: Install global tools:

npm: npm install -g husky rimraf lerna

or

cnpm: cnpm install -g husky rimraf lerna

or

yarn: yarn add -g husky rimraf lerna

setp 2: Install dependencies node_modules:

npm run lerna:b

Provided Scripts

Taro Fast Framework provides some useful script to help you quick start and build with web project, code style check and test.

Scripts provided in package.json. It's safe to modify or add additional script:

Build Framework And Start The Weapp Sample Project

npm run start:weapp:build

Start The Sample Project Only

npm run start:weapp:simple

(Ensure that the build is executed at least once)

Wait for execution to complete, you can open wechat development tool to view.

Build Framework

npm run build:all

Project template

Here repo is a template to quickly create a project.

https://github.com/kityandhero/taro-fast-template

The other way is use taro-fast-cli to initialize a project, it will download file from taro-fast-template repo.

npm install -g taro-fast-cli

taro-fast-cli init

If framework have a new version update, can use a script to upgrade project, the script in package.json, it running through taro-fast-cli.

npm run reinstall

The script content is "npm run clean && taro-fast-cli env && pnpm install".

If you need a agent to visit github, you can use this way.

npm run reinstall:agent

The script content is "npm run clean && taro-fast-cli env --agent http://127.0.0.1:7890 && pnpm install".

Framework Example Project Screenshot Preview

Alt text


Alt text


Alt text


Alt text


Alt text


Alt text


Alt text


Alt text


Alt text


Alt text


Alt text

Online Preview

More

welcome any feedback in our github.

Credits

Many thanks to the following individuals, organisations and projects whose work is so important to the success of Taro Fast Framework (in no particular order):

  • Taro
  • Rollup
  • Lodash
  • ...

More dependencies are not listed, thanks all of them.

MIT License Copyright (c) 2021 luzhitao Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above footerDescription notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于Taro的小程序快速开发框架 展开 收起
JavaScript 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/lzt/taro-fast-framework.git
git@gitee.com:lzt/taro-fast-framework.git
lzt
taro-fast-framework
taro-fast-framework
main

搜索帮助