[+] Make title configurable
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title>Charlie's Gallery</title>
|
||||
<title>Loading...</title>
|
||||
|
||||
<!-- Element -->
|
||||
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
|
||||
|
||||
@@ -16,6 +16,15 @@
|
||||
{
|
||||
// Create variable from imported config
|
||||
config = config;
|
||||
|
||||
/**
|
||||
* Initialize
|
||||
*/
|
||||
mounted()
|
||||
{
|
||||
document.title = config.title;
|
||||
console.log()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user