Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
dashboard
Commits
40a95b79
Commit
40a95b79
authored
Oct 19, 2020
by
Richard Blechinger
Browse files
Temporarily disable PurgeCSS to avoid purging of Bootstrap styles
parent
63f7e2d3
Changes
5
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
40a95b79
...
...
@@ -58,7 +58,7 @@
"postcss"
:
{
"plugins"
:
{
"tailwindcss"
:
{},
"vue-cli-plugin-tailwind/purgecss"
:
{}
,
"vue-cli-plugin-tailwind/purgecss"
:
false
,
"autoprefixer"
:
{}
}
},
...
...
src/EventBus.js
0 → 100644
View file @
40a95b79
src/plugins/translation/mixin.js
0 → 100644
View file @
40a95b79
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
];
},
}
tailwind.config.js
View file @
40a95b79
...
...
@@ -24,5 +24,4 @@ module.exports = {
},
variants
:
{},
plugins
:
[],
}
vue.config.js
View file @
40a95b79
...
...
@@ -11,5 +11,5 @@ module.exports = {
]
})
]
}
}
,
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment