From a692a22a12d9cc55bcbebd34c356c72e9d5afc3e Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 4 Jan 2019 16:11:27 -0500 Subject: [PATCH] Use Vue-Headful to set page titles --- package-lock.json | 13 +++++++++++++ package.json | 3 ++- src/404.vue | 2 +- src/DeckIndex.vue | 1 + src/Editor.vue | 7 +------ src/index.html | 3 +++ src/index.js | 2 ++ 7 files changed, 23 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0c703df..d47d09b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3504,6 +3504,11 @@ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", "dev": true }, + "headful": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/headful/-/headful-1.0.3.tgz", + "integrity": "sha512-vF9Vfddn1QWmziliht2mji6ayI78+hUuSC+Kt0GEqLw/51zWgi1KF7oLtIQf3nlkg8sQQOlznkkIaF4W9lIt9w==" + }, "hex-color-regex": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz", @@ -7337,6 +7342,14 @@ "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.0.2.tgz", "integrity": "sha512-opKtsxjp9eOcFWdp6xLQPLmRGgfM932Tl56U9chYTnoWqKxQ8M20N7AkdEbM5beUh6wICoFGYugAX9vQjyJLFg==" }, + "vue-simple-headful": { + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/vue-simple-headful/-/vue-simple-headful-2.2.6.tgz", + "integrity": "sha512-gV/mE4rJ8O35rJpYtto7uQDIKtwUfZCsuVleeCsNtBAWr2p1BJIsnVOLyRIbOrXRUUzaKtIyjE1cum1JlTuKYg==", + "requires": { + "headful": "^1.0.0" + } + }, "vue-template-compiler": { "version": "2.5.21", "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.5.21.tgz", diff --git a/package.json b/package.json index 3061f44..8383c27 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "v-runtime-template": "^1.5.2", "vue": "^2.5.21", "vue-hot-reload-api": "^2.3.1", - "vue-router": "^3.0.2" + "vue-router": "^3.0.2", + "vue-simple-headful": "^2.2.6" }, "devDependencies": { "@vue/component-compiler-utils": "^2.3.1", diff --git a/src/404.vue b/src/404.vue index a00cfab..9e70776 100644 --- a/src/404.vue +++ b/src/404.vue @@ -1,6 +1,6 @@