- Inserted Prerendering plugin('prerender-spa-plugin') to create HTML pages (for Google... crawler)

- Added Meta Tags (title, description and keywords)
This commit is contained in:
Paolo Arena
2019-11-08 21:38:20 +01:00
parent 67b42fcbfd
commit cd746e7ad3
3 changed files with 42 additions and 1 deletions

View File

@@ -293,7 +293,6 @@ export default class CEventsCalendar extends MixinEvents {
return (CalendarStore.state.intervalRange.max - CalendarStore.state.intervalRange.min) * (1 / CalendarStore.state.intervalRangeStep)
}
get containerStyle() {
const styles = { height: '' }
if (this.calendarView !== 'month' || (this.calendarView === 'month' && CalendarStore.state.dayHeight === 0)) {

View File

@@ -0,0 +1,14 @@
import Vue from 'vue'
import Component from 'vue-class-component'
import { IMetaTags } from '@src/model'
import { tools } from '@src/store/Modules/tools'
// You can declare a mixin as the same style as components.
@Component
export default class MixinMetaTags extends Vue {
public mymeta: IMetaTags = {title: '', description: '', keywords: ''}
public setmeta(mymeta: IMetaTags) {
this.mymeta = mymeta
}
}