Skip to content

Awesome Menu classes and types for your server and frontend!!! #GoOpenSource

License

Notifications You must be signed in to change notification settings

polutz/ptz-menu-domain

Repository files navigation

ptz-menu-domain

Build Status NPM codecov.io Dependency Status bitHound Score MIT license

Translations

pt-br en-us

Awesome javascript objects and types for Menus.

Use

Install

    npm install --save ptz-menu-domain

How to use

    import { IMenu } from ptz-menu-domain;

    var menu: IMenu = {
        label: '',
        items: [
            { label: 'Home', link: '/' },
            { label: 'Github', link: 'https://github.com/polutz/polutz' },
            { label: 'About Us', link: '/aboutus' },
            { label: 'Contact', link: '/contact' },
            { label: 'Faq', link: '/faq' },
            { label: 'Log In', link: '/users/login' },
            { label: 'Sign Up', link: '/users/signup' },
            {
                label: 'Users',
                subItems: [
                    { label: 'User Report', link: '/users/report', role: 'USERS_VIEW' }
                ]
            }
        ]
    };

Contribute

NPM Global packages

    npm install -g ts-node babel-cli

Setup

    npm install   

Test

    npm test

About

Awesome Menu classes and types for your server and frontend!!! #GoOpenSource

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published