diff --git a/client/package-lock.json b/client/package-lock.json index 665e166..e65b10e 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -11072,6 +11072,12 @@ "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.0.2.tgz", "integrity": "sha512-opKtsxjp9eOcFWdp6xLQPLmRGgfM932Tl56U9chYTnoWqKxQ8M20N7AkdEbM5beUh6wICoFGYugAX9vQjyJLFg==" }, + "vue-spinner": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/vue-spinner/-/vue-spinner-1.0.3.tgz", + "integrity": "sha512-Phh6QC/Bh80ZE/0SH9ADw4irbRGwFK6VZsTksPHpPm16xga2OXwNC2nI7SEPnndUZP+Lgu1wu+pbH6i6+5siBQ==", + "dev": true + }, "vue-style-loader": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz", diff --git a/client/package.json b/client/package.json index 526231b..3ecf68e 100644 --- a/client/package.json +++ b/client/package.json @@ -25,6 +25,7 @@ "purgecss": "^1.1.0", "tailwindcss": "^1.0.0-beta.3", "vue-awesome": "^3.5.1", + "vue-spinner": "^1.0.3", "vue-template-compiler": "^2.5.21" } } diff --git a/client/postcss.config.js b/client/postcss.config.js index 4b94996..a383682 100644 --- a/client/postcss.config.js +++ b/client/postcss.config.js @@ -13,17 +13,20 @@ module.exports = { plugins: [ postcssImport, tailwindcss('./tailwind.config.js'), - purgecss({ - content: ['./src/**/*.vue'], - whitelist: ['html', 'body'], - extractors: [ - { - extractor: TailwindExtractor, - extensions: ['html', 'js', 'vue'] - } - ] - }), + // --- !!! purgecss not working !!! --- + + // purgecss({ + // content: ['./src/**/*.vue'], + // whitelist: ['html', 'body'], + // extractors: [ + // { + // extractor: TailwindExtractor, + + // extensions: ['html', 'js', 'vue'] + // } + // ] + // }), autoprefixer ] } diff --git a/client/src/App.vue b/client/src/App.vue index fafabc6..bd71eff 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -4,7 +4,7 @@ Accueil | {{ linkText }} - + @@ -16,6 +16,8 @@ #app { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + + min-height: 100vh; } diff --git a/client/src/components/Match.vue b/client/src/components/Match.vue index 5341c19..fd8500d 100644 --- a/client/src/components/Match.vue +++ b/client/src/components/Match.vue @@ -1,60 +1,83 @@