Nuxt/test/fixtures/basic/pages/validate.vue
2016-12-20 20:44:42 +01:00

12 lines
145 B
Vue

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