Commit 40a95b79 authored by Richard Blechinger's avatar Richard Blechinger
Browse files

Temporarily disable PurgeCSS to avoid purging of Bootstrap styles

parent 63f7e2d3
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
"postcss": { "postcss": {
"plugins": { "plugins": {
"tailwindcss": {}, "tailwindcss": {},
"vue-cli-plugin-tailwind/purgecss": {}, "vue-cli-plugin-tailwind/purgecss": false,
"autoprefixer": {} "autoprefixer": {}
} }
}, },
......
import Polyglot from 'node-polyglot';
import de from '@/i18n/de'
import en from '@/i18n/en'
export default {
beforeCreate() {
const availableLocales = { de, en };
const potentialLocale = navigator.language.substring(0, 2)
const activeLocale = availableLocales.hasOwnProperty(potentialLocale) ? potentialLocale : 'de'
const phrases = availableLocales[activeLocale];
},
}
...@@ -24,5 +24,4 @@ module.exports = { ...@@ -24,5 +24,4 @@ module.exports = {
}, },
variants: {}, variants: {},
plugins: [], plugins: [],
} }
...@@ -11,5 +11,5 @@ module.exports = { ...@@ -11,5 +11,5 @@ module.exports = {
] ]
}) })
] ]
} },
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment