@nuxtjs/browserconfig

[![npm](https://img.shields.io/npm/dt/@nuxtjs/browserconfig.svg?style=flat-square)](https://npmjs.com/package/@nuxtjs/browserconfig) [![npm (scoped with tag)](https://img.shields.io/npm/v/@nuxtjs/browserconfig/latest.svg?style=flat-square)](https://npmjs.

Stats

StarsIssuesVersionUpdatedCreatedSize
@nuxtjs/browserconfig
243400.0.13a year ago4 years agoMinified + gzip package size for @nuxtjs/browserconfig in KB

Readme

BrowserConfig

npm npm (scoped with tag)

Adds XML browser configuration support. (Useful for internet explorer and Edge)

Browser configuration files (also known as browserconfig) can be used to define pinned site customizations, such as tile backgrounds, badge updates, and tile notifications. Browser configuration files let you set these customizations using external XML files rather than metadata within the HTML markup of a webpage.

  • Creates static/browserconfig.xml
  • Adds <meta name=msapplication-config> to pages if not exits.

Setup

  • Add @nuxtjs/browserconfig dependency using yarn or npm to your project

  • Add @nuxtjs/browserconfig to modules section of nuxt.config.js

    {
    modules: [
      // Simple usage
      '@nuxtjs/browserconfig',
      
      // With options
      ['@nuxtjs/browserconfig', { TileColor: '#3f51b5' }],
    ],
    
    // You can optionally use global options instead of inline form
    browserconfig: {
      TileColor: '#3f51b5',
      square150x150logo: {'@':{src:'icon.png'}}
    }
    }
    

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.