Skip to content

jiawang1/truant

Repository files navigation

truant

lerna

truant is a javascript framework for building scalable web applications base on React, redux, redux-saga and some other libraries. This repository is a monorepo that managed by Lerna.

Quick Start

  1. You can get source code from git or just down load code.
  2. install lerna globaly
 npm install -g lerna
  1. navigate to root folder and run following command to initialize projects
 npm run init
  1. when the installation finished, go to folder truant/packages/truant-example/ and startup example project
 npm start
  1. open address http://localhost:8012/school/_admin/#/sample in browser, you will see the example page.

build projects

navigate to root folder and run command

 npm run dist

this command will build all packages and put generated stuff in dist folder

current packages

  1. truant-dll: all open source libraries shared by other packages in the repo. This package will be built as webpack DLL.
  2. truant-core: provide some functions like code spliting, error handling, manage the global state.
  3. truant-example: an example page show how to use functions from truant-core.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published