1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/lzt-taro-fast-framework

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
Внести вклад в разработку кода
Синхронизировать код
Отмена
Подсказка: Поскольку Git не поддерживает пустые директории, создание директории приведёт к созданию пустого файла .keep.
Loading...
README.md

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.

Комментарии ( 0 )

Вы можете оставить комментарий после Вход в систему

Введение

Описание недоступно Развернуть Свернуть
JavaScript и 2 других языков
MIT
Отмена

Обновления

Пока нет обновлений

Участники

все

Недавние действия

Загрузить больше
Больше нет результатов для загрузки
1
https://api.gitlife.ru/oschina-mirror/lzt-taro-fast-framework.git
git@api.gitlife.ru:oschina-mirror/lzt-taro-fast-framework.git
oschina-mirror
lzt-taro-fast-framework
lzt-taro-fast-framework
main