Skip to content
This repository was archived by the owner on May 3, 2019. It is now read-only.

Product name as window title #40

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion template/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@
</template>

<script>
import * as APP_INFO from '../package.json'

/*
* Root component
*/
export default {}
export default {
mounted () {
document.title = APP_INFO.productName || 'Quasar App'
}
}
</script>

<style></style>
4 changes: 2 additions & 2 deletions template/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<meta name="msapplication-tap-highlight" content="no">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">

<title>Quasar App</title>
<link rel="icon" href="statics/quasar-logo.png" type="image/x-icon">
<title>Loading...</title>
<link rel="icon" href="statics/icon.png" type="image/x-icon">
</head>
<body>
<div id="q-app"></div>
Expand Down
Binary file added template/src/statics/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.