- 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:
@@ -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)) {
|
||||
|
||||
14
src/mixins/mixin-metatags.ts
Normal file
14
src/mixins/mixin-metatags.ts
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user