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.
- You can get source code from git or just down load code.
- install lerna globaly
npm install -g lerna
- navigate to root folder and run following command to initialize projects
npm run init
- when the installation finished, go to folder truant/packages/truant-example/ and startup example project
npm start
- open address http://localhost:8012/school/_admin/#/sample in browser, you will see the example page.
navigate to root folder and run command
npm run dist
this command will build all packages and put generated stuff in dist folder
- truant-dll: all open source libraries shared by other packages in the repo. This package will be built as webpack DLL.
- truant-core: provide some functions like code spliting, error handling, manage the global state.
- truant-example: an example page show how to use functions from truant-core.