Seeking guidance on integrating Vue plugins into Vue TypeScript's template, for example with vue-webpack-typescript.
Specifically interested in incorporating vue-meta.
Included the following code in ./src/main.ts
:
import * as Meta from 'vue-meta';
Vue.use(Meta, {
keyName: 'head',
attribute: 'data-vue-meta',
ssrAttribute: 'data-vue-meta-ssr',
tagIDKeyName: 'vmid'
});
Also added this to the ./src/components/home/home.ts
component:
export class HomeComponent extends Vue {
static head() {
return {
title: 'Test'
}
}
}
However, encountering an issue where the overwritten title is not displaying.