Skip to content

Commit

Permalink
fix: show version in example pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mekery committed Apr 17, 2020
1 parent d58ddcf commit 7587d2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/layouts/MainLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
>
<header class="row justify-center items-center">
<q-btn icon="mdi-github" flat @click="gotoRepo">
<div class="q-px-xs" v-if="!miniState">Quasar Tiptap</div>
<div class="q-px-xs" v-if="!miniState">Quasar Tiptap {{version}}</div>
</q-btn>
</header>

Expand Down Expand Up @@ -52,6 +52,7 @@
</template>

<script>
import { version } from '../../package'
import { openURL } from 'quasar'
export default {
Expand All @@ -62,6 +63,7 @@ export default {
return {
leftDrawerOpen: false,
miniState: false,
version: version,
links: [
{
label: 'Examples',
Expand Down

0 comments on commit 7587d2e

Please sign in to comment.