diff --git a/package-lock.json b/package-lock.json index 087ea10..1ff337a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10120,6 +10120,21 @@ "vue-style-loader": "^4.1.0" } }, + "vue-meta": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/vue-meta/-/vue-meta-2.2.2.tgz", + "integrity": "sha512-aSzjfc5xV3szxPZMsSk6JeoHUqwrVHNPzpMciTCek56LDd2xKWCv+Ch4IGWL5EIxVyfxA+krsD7T11PTyLY4TQ==", + "requires": { + "deepmerge": "^4.0.0" + }, + "dependencies": { + "deepmerge": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.0.0.tgz", + "integrity": "sha512-YZ1rOP5+kHor4hMAH+HRQnBQHg+wvS1un1hAOuIcxcBy0hzcUf6Jg2a1w65kpoOUnurOfZbERwjI1TfZxNjcww==" + } + } + }, "vue-style-loader": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz", diff --git a/package.json b/package.json index 68f4acb..487a123 100644 --- a/package.json +++ b/package.json @@ -29,5 +29,8 @@ "tailwindcss": "^0.7.4", "vue": "^2.6.6", "vue-template-compiler": "^2.6.6" + }, + "dependencies": { + "vue-meta": "^2.2.2" } } diff --git a/resources/js/Pages/Auth/Login.vue b/resources/js/Pages/Auth/Login.vue index e7dfec3..672d38a 100644 --- a/resources/js/Pages/Auth/Login.vue +++ b/resources/js/Pages/Auth/Login.vue @@ -28,6 +28,7 @@ import Logo from '@/Shared/Logo' import TextInput from '@/Shared/TextInput' export default { + metaInfo: { title: 'Login' }, components: { LoadingButton, Logo, @@ -46,9 +47,6 @@ export default { }, } }, - mounted() { - document.title = 'Login | Ping CRM' - }, methods: { submit() { this.sending = true diff --git a/resources/js/Pages/Contacts/Create.vue b/resources/js/Pages/Contacts/Create.vue index e134122..b4e4e12 100644 --- a/resources/js/Pages/Contacts/Create.vue +++ b/resources/js/Pages/Contacts/Create.vue @@ -1,5 +1,5 @@ diff --git a/resources/js/Pages/Organizations/Create.vue b/resources/js/Pages/Organizations/Create.vue index a39f1fc..e232de8 100644 --- a/resources/js/Pages/Organizations/Create.vue +++ b/resources/js/Pages/Organizations/Create.vue @@ -1,5 +1,5 @@ diff --git a/resources/js/Pages/Users/Create.vue b/resources/js/Pages/Users/Create.vue index 102eee0..a999c34 100644 --- a/resources/js/Pages/Users/Create.vue +++ b/resources/js/Pages/Users/Create.vue @@ -1,5 +1,5 @@