0.2.1 • Published 7 years ago
gzly-history-router v0.2.1
Grizzly's History Router
Install
npm install --save gzly-history-router
import * as Gzly from 'gzly-history-router';
import DetailModule from './App/Controller/DetailModule';
import IndexModule from './App/Controller/IndexModule';
let modules = {
'detail': {
instance: new DetailModule(),
children: {}
},
'index': {
instance: new IndexModule(),
children: {}
},
};
let options = {
duration: 500,
useHashbang: true,
rootElement: <HTMLElement>document.querySelector('body > main')
}
let router = new Gzly.Router(modules, options);
router.render();
Build it
npm run start
- will trigger the watch job
npm run build
- will trigger the build job
npm run test
- will trigger -wait for it- the test job :)
The emoji guide for commit messages https://gitmoji.carloscuesta.me/
0.2.1
7 years ago
0.2.0
7 years ago
0.1.9
7 years ago
0.1.8
7 years ago
0.1.7
7 years ago
0.1.6
7 years ago
0.1.5-alpha
7 years ago
0.1.4-alpha
7 years ago
0.1.3-alpha
7 years ago
0.1.2-alpha
7 years ago
0.1.1-alpha
7 years ago
0.1.0-alpha
7 years ago
0.0.15-alpha
7 years ago
0.0.14-alpha
7 years ago
0.0.13-alpha
7 years ago
0.0.12-alpha
7 years ago
0.0.11-alpha
7 years ago
0.0.10-alpha
7 years ago
0.0.9-alpha
7 years ago
0.0.8-alpha
7 years ago
0.0.7-alpha
7 years ago
0.0.6-alpha
7 years ago
0.0.5-alpha
7 years ago
0.0.2-alpha
7 years ago
0.0.1-alpha
7 years ago
0.0.0-alpha
7 years ago