Nuxt/test/fixtures/basic/pages/validate.vue

12 lines
145 B
Vue
Raw Normal View History

2016-12-20 17:26:46 +00:00
<template>
<h1>I am valid</h1>
</template>
<script>
export default {
validate ({ query }) {
return Boolean(query.valid)
}
}
</script>