<template>
	<Content app-name="Testing">
		<b-container class="bv-example-row">
			<h3>Allgemeine Tests für den ganzen stuff</h3>
		</b-container>
		<button @click="action">
			Action
		</button>
	</Content>
</template>
<script>
import Content from '@nextcloud/vue/dist/Components/Content'
import { generateUrl } from '@nextcloud/router'
import axios from '@nextcloud/axios'
// import '@braid/vue-formulate/themes/snow/snow.scss'
// import { generateUrl } from '@nextcloud/router'
// const axios = require('axios').default

export default ({
	name: 'Testing',
	components: {
		Content,
	},
	data() {
		return {
		}
	},
	methods: {
		action() {
			axios.get(generateUrl('/apps/agency/filetest')).then(function(resp) {
				console.log(resp)
			})

		},
	},
})
</script>
