Nuxt/test/fixtures/children/pages/parent/validate-child.vue
pooya parsa e7cc2757c3 refactor: update eslint-config to 1.x
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2019-07-10 15:15:49 +04:30

12 lines
147 B
Vue

<template>
<h2>Child valid</h2>
</template>
<script>
export default {
validate ({ query }) {
return query.key === '12345'
}
}
</script>