mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-11 12:13:09 +02:00
11349561d6
* wip * wip * wip * wip * wip * wip * wip * wip * wip * Update yarn.lock * wip * wip
52 lines
1.1 KiB
Vue
52 lines
1.1 KiB
Vue
<template>
|
|
<FormBase>
|
|
<FormButton @click="error()">error test</FormButton>
|
|
</FormBase>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineAsyncComponent, defineComponent } from 'vue';
|
|
import FormSwitch from '@client/components/form/switch.vue';
|
|
import FormSelect from '@client/components/form/select.vue';
|
|
import FormLink from '@client/components/form/link.vue';
|
|
import FormBase from '@client/components/form/base.vue';
|
|
import FormGroup from '@client/components/form/group.vue';
|
|
import FormButton from '@client/components/form/button.vue';
|
|
import FormKeyValueView from '@client/components/form/key-value-view.vue';
|
|
import * as os from '@client/os';
|
|
import * as symbols from '@client/symbols';
|
|
|
|
export default defineComponent({
|
|
components: {
|
|
FormBase,
|
|
FormSelect,
|
|
FormSwitch,
|
|
FormButton,
|
|
FormLink,
|
|
FormGroup,
|
|
FormKeyValueView,
|
|
},
|
|
|
|
emits: ['info'],
|
|
|
|
data() {
|
|
return {
|
|
[symbols.PAGE_INFO]: {
|
|
title: this.$ts.experimentalFeatures,
|
|
icon: 'fas fa-flask'
|
|
},
|
|
stats: null
|
|
}
|
|
},
|
|
|
|
mounted() {
|
|
this.$emit('info', this[symbols.PAGE_INFO]);
|
|
},
|
|
|
|
methods: {
|
|
error() {
|
|
throw new Error('Test error');
|
|
}
|
|
}
|
|
});
|
|
</script>
|