module.exports = {
    // ...other vue-cli plugin options...

    css: {
      loaderOptions: {
      less: {
      javascriptEnabled: true, // 加载LESS 需要把JS设置一下
      }
      }
      },
    pwa: {
      name: 'My App',
      themeColor: '#4DBA87',
      msTileColor: '#000000',
      appleMobileWebAppCapable: 'yes',
      appleMobileWebAppStatusBarStyle: 'black',
      manifestOptions:{
        display: 'standalone',
        theme_color: '#333333'
      },
      // configure the workbox plugin
      workboxPluginMode: 'InjectManifest',
      workboxOptions: {
        // swSrc is required in InjectManifest mode.
        swSrc: 'dev/sw.js',
        // ...other Workbox options...
      }
    }
  }