From fac991fb411bedfca697ae67139ef9bc9e8cb95c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 11 Jun 2019 21:30:02 +0100 Subject: [PATCH] Add postcss-import, re-organise CSS files --- package.json | 1 + postcss.config.js | 1 + src/App.vue | 2 +- src/{ => assets}/css/components/footer.css | 0 src/{ => assets}/css/components/main.css | 0 src/{ => assets}/css/components/skip-link.css | 0 src/assets/css/custom-components.css | 3 ++ src/assets/css/tailwind.css | 7 +++++ src/css/app.css | 8 ------ yarn.lock | 28 +++++++++++++++++-- 10 files changed, 39 insertions(+), 11 deletions(-) rename src/{ => assets}/css/components/footer.css (100%) rename src/{ => assets}/css/components/main.css (100%) rename src/{ => assets}/css/components/skip-link.css (100%) create mode 100644 src/assets/css/custom-components.css create mode 100644 src/assets/css/tailwind.css delete mode 100644 src/css/app.css diff --git a/package.json b/package.json index 4378e23..d9ded7c 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "babel-eslint": "^10.0.1", "eslint": "^5.8.0", "eslint-plugin-vue": "^5.0.0", + "postcss-import": "^12.0.1", "vue-template-compiler": "^2.5.21" } } diff --git a/postcss.config.js b/postcss.config.js index fc3157c..d3a8d35 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,5 +1,6 @@ module.exports = { plugins: { + 'postcss-import': {}, tailwindcss: './tailwind.config.js', autoprefixer: {} } diff --git a/src/App.vue b/src/App.vue index 3f23a42..5e0080d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -110,4 +110,4 @@ export default { } -