Commit 6f4ba6d5 authored by Richard Blechinger's avatar Richard Blechinger
Browse files

Read version from package.json, update Tailwind config, add myself to Credits (hihi)

parent e6b621a6
...@@ -54,6 +54,13 @@ ...@@ -54,6 +54,13 @@
Martin Lasinger Martin Lasinger
<b-badge>gfx</b-badge> <b-badge>gfx</b-badge>
</li> </li>
<li>
Richard Blechinger
<a href="https://gitlab.servus.at/pretzelhands">@pretzelhands</a>
<b-badge variant="primary">
dashboard
</b-badge>
</li>
</ul> </ul>
<p> <p>
<b>Graphics &amp; Icons</b><br> <b>Graphics &amp; Icons</b><br>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<b-container> <b-container>
<b-row> <b-row>
<b-col> <b-col>
AURA/<b>dashboard v0.0.42</b> | AURA/<b>dashboard v{{ version }}</b> |
<router-link to="/credits"> <router-link to="/credits">
Credits Credits
</router-link> | </router-link> |
...@@ -19,6 +19,12 @@ ...@@ -19,6 +19,12 @@
<script> <script>
export default { export default {
computed: {
version() {
console.log(process.env)
return process.env.VUE_APP_VERSION
}
}
} }
</script> </script>
......
...@@ -2,6 +2,7 @@ module.exports = { ...@@ -2,6 +2,7 @@ module.exports = {
prefix: 'tw-', prefix: 'tw-',
future: { future: {
removeDeprecatedGapUtilities: true, removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
}, },
theme: { theme: {
screens: { screens: {
......
const CopyWebpackPlugin = require('copy-webpack-plugin') const CopyWebpackPlugin = require('copy-webpack-plugin')
process.env.VUE_APP_VERSION = require('./package.json').version;
module.exports = { module.exports = {
configureWebpack: { configureWebpack: {
plugins: [ plugins: [
......
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