mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-21 07:16:15 -04:00
13 lines
285 B
TypeScript
13 lines
285 B
TypeScript
![]() |
import {Component, Vue} from 'nuxt-property-decorator'
|
||
|
import {ToolConfig} from '~/types/ToolConfig'
|
||
|
|
||
|
@Component
|
||
|
export class ToolConfigMixin extends Vue {
|
||
|
public $toolConfig!: ToolConfig;
|
||
|
|
||
|
beforeCreate() {
|
||
|
// @ts-ignore
|
||
|
this.$toolConfig = this.$options.__toolConfig
|
||
|
}
|
||
|
}
|