Skip to content

Commit

Permalink
build: version to v0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EryouHao committed Jan 2, 2019
1 parent 40aa07e commit 6f1610b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hve-notes",
"version": "0.6.0",
"version": "0.6.1",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
5 changes: 4 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<v-footer class="footer" fixed app>
<span>🎨 + 🔨 by <a @click="openInBrowser('https://github.com/eryouhao')">EryouHao</a></span>
<v-spacer></v-spacer>
<span class="copyright">👣 - 0.6.0</span>
<span class="copyright">👣 - {{ version }}</span>
<i class="fa fa-github-square github" @click="openInBrowser('https://github.com/hve-notes/hve-notes')"></i>
</v-footer>
</v-app>
Expand All @@ -63,13 +63,16 @@ import Component from 'vue-class-component'
import ISnackbar from './interfaces/snackbar'
import { Action } from 'vuex-class'
import { Site } from './store/modules/site'
import * as Package from '../package.json'
@Component
export default class App extends Vue {
@Action('site/updateSite') updateSite!: (siteData: Site) => void
ipcRenderer = ipcRenderer
version = (Package as any).version
drawer = true
items = [
{ icon: '📄', title: '文 章', to: '/articles' },
Expand Down
4 changes: 4 additions & 0 deletions src/shims-vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ declare module '*.vue' {
import Vue from 'vue';
export default Vue;
}
declare module '*.json' {
const data: any
export default data
}

0 comments on commit 6f1610b

Please sign in to comment.