Nuxt/test/fixtures/children/pages/parent/validate-child.vue

12 lines
146 B
Vue
Raw Normal View History

2016-12-20 17:26:46 +00:00
<template>
<h2>Child valid</h2>
</template>
<script>
export default {
2017-10-31 13:26:19 +00:00
validate({ query }) {
2016-12-20 17:26:46 +00:00
return query.key === '12345'
}
}
</script>