Skip to content

Commit

Permalink
Add version number to header.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebinside committed Feb 4, 2024
1 parent b04e407 commit dab4187
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion StreamAwesome/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import MainSettings from '@/components/MainSettings.vue'

<template>
<main>
<h1 class="text-3xl font-bold">Stream Awesome</h1>
<h1 class="text-3xl font-bold">
Stream Awesome
<span class="text-sm text-gray-400">1.0.0</span>
</h1>
<MainSettings />
</main>
</template>

1 comment on commit dab4187

@Logianer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be improved by dynamically setting the version number from package.json. See:
https://anatoly-stupack.com/post/howto-package-version-vue-js/

Please sign in to comment.