Install postcss-import

This commit is contained in:
khatabwedaa
2020-06-12 16:18:16 +02:00
parent 5780809aa5
commit 0a5b684c74
6 changed files with 33 additions and 30 deletions

View File

@@ -12,6 +12,7 @@
"core-js": "^3.6.4",
"highlight.js": "^10.0.2",
"js-beautify": "^1.11.0",
"postcss-import": "^12.0.1",
"tailwindcss": "^1.4.4",
"vue": "^2.6.11",
"vue-analytics": "^5.22.1",

View File

@@ -1,6 +1,7 @@
module.exports = {
plugins: [
require('tailwindcss'),
require('autoprefixer'),
]
}
plugins: [
require("postcss-import"),
require("tailwindcss"),
require("autoprefixer"),
],
};

View File

@@ -9,7 +9,7 @@
<div class="max-w-2xl mx-auto mt-6">
<span class="ml-2" v-for="route in routes" :key="route.path">
<router-link class="inline-block px-3 py-1 rounded text-sm font-medium cursor-pointer hover:bg-gray-700 hover:text-gray-200" :class="currentPage == route.path ? 'bg-gray-700 text-gray-200' : 'bg-gray-200 text-gray-700'" :to="route.path">
<router-link class="inline-block px-3 py-1 rounded text-sm cursor-pointer hover:bg-gray-700 hover:text-gray-200" :class="currentPage == route.path ? 'bg-gray-700 text-gray-200' : 'bg-gray-200 text-gray-700'" :to="route.path">
{{ route.name }}
</router-link>
</span>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +0,0 @@
@tailwind base;
@tailwind components;
@tailwind utilities;