vuepress the navbar two configurations

The first

= module.exports { 
    title: 'If the title of the site is a picture of how to do',   // set the site title 
    description: 'My personal website' , 
    head: [ 
        [ 'Link', {rel: 'icon', href: ' /logo.jpg ' }] 
    ], 
    Base: ' / ' , 
    Markdown: { 
        the lineNumber: to false  //
     }, 
    themeConfig: { 
        NAV: [ // add navigation 
            { 
                text: ' Languages ' , 
                items: [ 
                    {text: ' chinese ', Link:' / Language / chinese / ' },
                    Text {: 'Japanese', Link: '/ Language / japanese /' } 
                ] 
            } 
        ], 
        // Add a sidebar 
        Sidebar: 'Auto' , 
        sidebarDepth: 2 
    } 
}

 

The second

= module.exports { 
    title: 'If the title of the site is a picture of how to do',   // set the site title 
    description: 'My personal website' , 
    head: [ 
        [ 'Link', {rel: 'icon', href: ' /logo.jpg ' }] 
    ], 
    Base: ' / ' , 
    Markdown: { 
        the lineNumber: to false  //
     }, 
    themeConfig: { 
        NAV: [ // add navigation 
            {text:' menu 1 ', link:' / apiword ' }, 
            {text: 'menu 2', Link: '/ API' }, 
            {text: 'menu 3', link: '/ error ' },
            {text: 'Menu. 4' , 
                items: [ 
                    {text: "Menu 4-1 ', Link:' / ERS1 ' }, 
                    {text: " Menu 4-2', Link: '/ ERS2' }, 
                ] 
            } 
        ], 
        // Add a sidebar 
        sidebar: 'Auto' , 
        sidebarDepth: 2 
    } 
}

 

Guess you like

Origin www.cnblogs.com/tengyuxin/p/11230039.html