nuxt-community / legacy-modules

MIT License
1.28k stars 158 forks source link

@nuxtjs/browserconfig - Incorrect XML markup? #400

Open asencis opened 3 years ago

asencis commented 3 years ago

I'm not sure things are working as correctly as they should be.

The following configuration in my nuxt.config.js file:

  browserconfig: {
    TileColor: '#2d3748',
    square150x150logo: {
      '@': {
        src:'static/ms-tile-icon.png'
      }
    }
  }

...is producing the following browserconfig.xml:

<?xml version="1.0" encoding="utf-8"?>
<browserconfig><msapplication><TileColor>#2d3748</TileColor><square150x150logo src="static/ms-tile-icon.png"></square150x150logo><tile><square150x150logo src="icon.png"></square150x150logo><TileColor>#3f51b5</TileColor></tile></msapplication></browserconfig>

The <tile></tile> seems to be pulling in from some default config?