@nuxtjs/browserconfig

0.0.13 • Public • Published

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'}}
  }
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.1329latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.1329
0.0.120
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.622
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i @nuxtjs/browserconfig

Weekly Downloads

51

Version

0.0.13

License

MIT

Unpacked Size

6.33 kB

Total Files

5

Last publish

Collaborators

  • clarkdo
  • pi0
  • atinux
  • alexchopin
  • danielroe
  • antfu