From 70b390d20aa4e88793ee2b10be6cf5e1b4cab154 Mon Sep 17 00:00:00 2001 From: Christian Cueni Date: Thu, 14 Apr 2022 08:59:06 +0200 Subject: [PATCH] Setup postcss and tailwind --- client/package.json | 1 + client/postcss.config.js | 1 + client/src/App.vue | 2 +- client/src/assets/base.css | 74 ------------------------------------- client/src/assets/base.scss | 2 + client/src/router/index.ts | 7 ++++ client/tailwind.config.js | 1 + 7 files changed, 13 insertions(+), 75 deletions(-) delete mode 100644 client/src/assets/base.css create mode 100644 client/src/assets/base.scss diff --git a/client/package.json b/client/package.json index 762691ee..27ad7144 100644 --- a/client/package.json +++ b/client/package.json @@ -32,6 +32,7 @@ "eslint-plugin-vue": "^8.2.0", "jsdom": "^19.0.0", "postcss": "^8.4.12", + "postcss-import": "^14.1.0", "prettier": "^2.5.1", "start-server-and-test": "^1.14.0", "tailwindcss": "^3.0.24", diff --git a/client/postcss.config.js b/client/postcss.config.js index 33ad091d..d0ffab7e 100644 --- a/client/postcss.config.js +++ b/client/postcss.config.js @@ -1,5 +1,6 @@ module.exports = { plugins: { + 'postcss-import': {}, tailwindcss: {}, autoprefixer: {}, }, diff --git a/client/src/App.vue b/client/src/App.vue index 7de68e9b..78814c46 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -21,7 +21,7 @@ import HelloWorld from '@/components/HelloWorld.vue'