From 293eea290d90b185f1909a6b039261eab9610934 Mon Sep 17 00:00:00 2001 From: Alvaro Date: Mon, 20 Sep 2021 13:04:46 +0200 Subject: [PATCH 1/2] fix: tailwindcss proper purging --- tailwind.config.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tailwind.config.js b/tailwind.config.js index d1aec76..52f7fad 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,6 +1,16 @@ // tailwind.config.js module.exports = { - purge: ['./src/**/*.html', './src/**/*.vue', './src/**/*.ts'], + purge: [ + './src/**/*.html', + './src/**/*.vue', + './src/**/*.ts', + './demos/**/*.html', + './demos/**/*.vue', + './demos/**/*.ts', + './docs/**/*.html', + './docs/**/*.vue', + './docs/**/*.ts', + ], theme: { fontFamily: { display: ['Montserrat'], From e5f6a9cb52520580186416e165e8c8c00d26fb40 Mon Sep 17 00:00:00 2001 From: Alvaro Date: Mon, 20 Sep 2021 13:05:14 +0200 Subject: [PATCH 2/2] fix: updated netlify config --- docs/netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/netlify.toml b/docs/netlify.toml index bf07649..2778e09 100644 --- a/docs/netlify.toml +++ b/docs/netlify.toml @@ -1,5 +1,5 @@ [build] - publish = ".vitepress/dist" + publish = "/.vitepress/dist" command = "npm run docs:build" [[redirects]] from = "/*"