From 7befcfd3c94440935abb5dc4caa5066937c0094a Mon Sep 17 00:00:00 2001 From: Ava Gaiety Wroten Date: Wed, 29 Dec 2021 22:27:58 -0600 Subject: [PATCH] fix: tailwind purge works now --- nuxt.config.js | 17 +++++++++++++++++ tailwind.config.js | 15 --------------- 2 files changed, 17 insertions(+), 15 deletions(-) delete mode 100644 tailwind.config.js diff --git a/nuxt.config.js b/nuxt.config.js index c1d3d26..f57091a 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,3 +1,5 @@ +import tailwindAspectRatio from '@tailwindcss/aspect-ratio' + export default { // Global page headers: https://go.nuxtjs.dev/config-head head: { @@ -129,4 +131,19 @@ export default { // Build Configuration: https://go.nuxtjs.dev/config-build build: {}, + + // Tailwind + tailwindcss: { + config: { + plugins: [tailwindAspectRatio], + }, + theme: { + extend: { + colors: { + brandbright: '#ca4e8d', + branddark: '#83398c', + }, + }, + }, + }, } diff --git a/tailwind.config.js b/tailwind.config.js deleted file mode 100644 index 36fa68b..0000000 --- a/tailwind.config.js +++ /dev/null @@ -1,15 +0,0 @@ -import tailwindAspectRatio from '@tailwindcss/aspect-ratio' - -module.exports = { - config: { - plugins: [tailwindAspectRatio], - }, - theme: { - extend: { - colors: { - brandbright: '#ca4e8d', - branddark: '#83398c', - }, - }, - }, -}