From fc94bce2a6333ad525a354b5762745ee62e58b56 Mon Sep 17 00:00:00 2001 From: Erik Campobadal Date: Mon, 19 Feb 2018 19:36:45 +0100 Subject: [PATCH 1/2] Update nuxt.config.js --- examples/tailwindcss/nuxt.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/tailwindcss/nuxt.config.js b/examples/tailwindcss/nuxt.config.js index 7550d05a97..9828a6995f 100644 --- a/examples/tailwindcss/nuxt.config.js +++ b/examples/tailwindcss/nuxt.config.js @@ -1,3 +1,9 @@ module.exports = { + build: { + postcss: [ + require('tailwindcss')('./tailwind.js'), + require('autoprefixer') + ], + }, css: ['~/assets/css/tailwind.css'] } From d2f14e3e9c2aff5f656890ba126e58d4fd33acc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Tue, 20 Feb 2018 12:56:39 +0100 Subject: [PATCH 2/2] Update nuxt.config.js --- examples/tailwindcss/nuxt.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tailwindcss/nuxt.config.js b/examples/tailwindcss/nuxt.config.js index 9828a6995f..c25eb8e4db 100644 --- a/examples/tailwindcss/nuxt.config.js +++ b/examples/tailwindcss/nuxt.config.js @@ -3,7 +3,7 @@ module.exports = { postcss: [ require('tailwindcss')('./tailwind.js'), require('autoprefixer') - ], + ] }, css: ['~/assets/css/tailwind.css'] }