0.2.1 • Published 6 years ago

gzly-history-router v0.2.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Grizzly's History Router

Build Status

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

6 years ago

0.2.0

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5-alpha

6 years ago

0.1.4-alpha

6 years ago

0.1.3-alpha

6 years ago

0.1.2-alpha

6 years ago

0.1.1-alpha

6 years ago

0.1.0-alpha

6 years ago

0.0.15-alpha

6 years ago

0.0.14-alpha

6 years ago

0.0.13-alpha

6 years ago

0.0.12-alpha

6 years ago

0.0.11-alpha

6 years ago

0.0.10-alpha

6 years ago

0.0.9-alpha

6 years ago

0.0.8-alpha

6 years ago

0.0.7-alpha

6 years ago

0.0.6-alpha

6 years ago

0.0.5-alpha

6 years ago

0.0.2-alpha

6 years ago

0.0.1-alpha

6 years ago

0.0.0-alpha

6 years ago