/**
 * Created by linfengluo@gmail.com on 2017/9/7.
 */

const menu = [
    {
        title: '首页',
        icon: 'home',
        link: '/',
        childern: []
    },
    {
        title: 'Layout 布局',
        icon: 'table',
        link: '',
        childern: [{
            menu: [
                {
                    title: 'header',
                    link: ''
                },
                {
                    title: 'asideMenu',
                    link: ''
                },
                {
                    title: 'content',
                    link: ''
                }
            ]
        }]
    },
    {
        title: 'Elements 元素',
        icon: 'cube',
        link: '',
        childern: [{
            menu: [
                {
                    title: 'Button',
                    link: '/elements/button'
                }
            ]
        }]
    },
    {
        title: 'Form 表单',
        icon: 'check-square-o',
        link: '',
        childern: [{
            menu: [
                {
                    title: 'Input',
                    link: '/form/input'
                }, {
                    title: 'TextArea',
                    link: '/form/textarea'
                },
                {
                    title: 'Checkbox',
                    link: '/form/checkbox'
                },
                {
                    title: 'Selecter',
                    link: '/form/selecter'
                },
                {
                    title: 'Radio',
                    link: '/form/radio'
                },
                {
                    title: 'Switch',
                    link: '/form/switch'
                },
                {
                    title: 'Datepicker',
                    link: '/form/datepicker'
                },
                {
                    title: 'Editor',
                    link: '/form/editor'
                },
                {
                    title: 'Form',
                    link: '/form/form'
                }
            ]
        }]
    },
    {
        title: 'Data 数据',
        icon: 'database',
        link: '',
        childern: [{
            menu: [
                {
                    title: 'Table',
                    link: '/data/table'
                }, {
                    title: 'Badge',
                    link: '/data/badge'
                }, {
                    title: 'Panigation',
                    link: '/data/panigation'
                }
            ]
        }]
    },
    {
        title: 'notice 提醒',
        icon: 'bell-o',
        link: '',
        childern: [{
            menu: [
                {
                    title: 'Alert',
                    link: '/notice/alert'
                },
                {
                    title: 'Notify',
                    link: '/notice/notify'
                },
                {
                    title: 'Message',
                    link: '/notice/message'
                }
            ]
        }]
    }
]

export default menu

@@ -171,468 +171,8 @@
   %7B%0A
-        title: 'Layout %E5%B8%83%E5%B1%80',%0A        icon: 'table',%0A        link: '',%0A        childern: %5B%7B%0A            menu: %5B%0A                %7B%0A                    title: 'header',%0A                    link: ''%0A                %7D,%0A                %7B%0A                    title: 'asideMenu',%0A                    link: ''%0A                %7D,%0A                %7B%0A                    title: 'content',%0A                    link: ''%0A                %7D%0A            %5D%0A        %7D%5D%0A    %7D,%0A    %7B%0A
     

update route