Open o1lab opened 2 years ago
Spinner seen on new tab opening :
export default { ssr: false, target: 'static', head: { titleTemplate: '', title: 'NocoDB', meta: [ { charset: 'utf-8' }, { name: 'viewport', content: 'width=device-width, initial-scale=1' }, { hid: 'description', name: 'description', content: process.env.npm_package_description || '' } ], link: [ { rel: 'icon', type: 'image/x-icon', href: './favicon-32.png' } ] }, plugins: [ // plugins ], buildModules: [ '@nuxtjs/vuetify', '@nuxtjs/pwa' ], modules: [ // Doc: https://axios.nuxtjs.org/usage '@nuxtjs/axios', 'vue-github-buttons/nuxt', '@nuxtjs/toast' ], axios: { baseURL: process.env.NC_BACKEND_URL || (process.env.NODE_ENV === 'production' ? '..' : 'http://localhost:8080') }, router: { mode: 'hash', base: process.env.NODE_ENV === 'production' ? './' : '', middleware: ['auth'] }, vuetify: { defaultAssets: { icons: false }, optionsPath: '@/config/vuetify.options.js', treeShake: true, customVariables: ['./config/variables.scss'] }, build: { parallel: true, plugins: [ new MonacoEditorWebpackPlugin({ languages: ['sql', 'json', 'javascript'], features: ['!gotoSymbol'] }) ], extend(config, { isDev, isClient }) { if (isDev) { config.devtool = isClient ? 'source-map' : 'inline-source-map' } config.externals = config.externals || {} config.externals['@microsoft/typescript-etw'] = 'FakeModule' return config } }, pwa: { workbox: { assetsURLPattern: /\/_nuxt\//, config: { debug: true } }, icon: { publicPath: './' }, manifest: { name: 'NocoDB', start_url: '../?standalone=true', theme_color: '#ffffff' } } }
Lighthouse report :
Added links to the code.
Spinner seen on new tab opening :
Lighthouse report :