# 配置

config.js中配置 footer

export default {
    themeConfig:{
         footer: {
            Copyright: {
                text: '豫ICP备18037410号-2',
                icon: {
                    name: 'beian',
                },
                link: {
                    url: 'http://www.miitbeian.gov.cn/',
                    target: '_blank'
                    
                }
            },
            Author: {
                text: 'Hvnobug',
                icon: {
                    name: 'author'
                },
                link: {
                    url: '/'
                }
            },
        },
    }
}

# 选项

# text

  • type :string
  • require : true

# icon

  • type : object
  • require : false 可选,svg 图标,图标配置参考
  • type :object
  • require : false

# url

  • type :string
  • require : true 链接地址

# target

  • type :string
  • require : false 同a标签的target属性