0.0.5 • Published 6 years ago

vapor-admin v0.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Vapor Admin

Build on top of React-Vapor, handles the base functionalities of an administration console.

Usage

Register a sub-application

Vapor.Application.registerApp("Section1", "App1", { routeOptions: { path: "/", component: () => <div/> }});

Register an header section

Vapor.Application.registerHeaderSection("logo", { render: CoveoLogoHeaderSection});

Initialize

document.addEventListener('DOMContentLoaded', function() {
    Vapor.Application.init(document.getElementById("app"));
});

Build

npm run build

Demo

npm run build ./dist/index.html