diff --git a/graphql/index.js b/graphql/index.js index ea6b4f44bce112ef41b4365a6b994a373fbc0b1e..8f401a2e6a8e2025db4d26841bc89b4358332235 100644 --- a/graphql/index.js +++ b/graphql/index.js @@ -19,7 +19,7 @@ export default ctx => { const cache = new InMemoryCache({ typePolicies: { Event: { - keyFields: ['block',['bct']] + keyFields: ['block',['number ']] }, EventId: { keyFields: ['member',['hash'],'inOut'] @@ -28,7 +28,7 @@ export default ctx => { keyFields: ['hash'] }, Forecast: { - keyFields: ['member',['hash'],'date'] + keyFields: ['member',['hash'],'date','after','proba'] } } }) diff --git a/nuxt.config.js b/nuxt.config.js index d99a638ac6a5618579768a4874df6e37fd1944b7..a0324eeedea8a8946d80c0a6b1b2a508cc814e74 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -35,8 +35,7 @@ export default { // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules buildModules: [ // https://go.nuxtjs.dev/pwa - '@nuxtjs/pwa', - 'nuxt-purgecss' + '@nuxtjs/pwa' ], // Modules: https://go.nuxtjs.dev/config-modules @@ -60,6 +59,7 @@ export default { }, bootstrapVue: { + // For using custom Bootstrap SCSS, disable automatic inclusion of Bootstrap and BootstrapVue pre-compiled CSS files css: false, bvCSS: false }, diff --git a/package.json b/package.json index 4660095ca8ef17077fd68e61c09ab92602339425..a00be6b3ca51902108d75cafe345f1e08068cf3c 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "dayjs": "^1.10.7", "graphql-tag": "^2.12.6", "nuxt": "^2.15.8", - "nuxt-purgecss": "^1.0.0", "vue": "^2.6.14" }, "devDependencies": { diff --git a/pages/index.vue b/pages/index.vue index 5b568a835fa426d5ce13f33d117b3e8a7cbfbe1b..bd6d156321095a867067fb41dbf4aec5d07d3274 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -58,7 +58,7 @@ export default { inOut }, block { - bct + number } } } `,