Skip to content

kityandhero/taro-fast-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.