Nuxt/test/fixtures/basic/pages/validate.vue
2017-10-31 14:26:19 +01:00

12 lines
144 B
Vue

<template>
<h1>I am valid</h1>
</template>
<script>
export default {
validate({ query }) {
return Boolean(query.valid)
}
}
</script>