mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +00:00
5c0d12fb13
* chore(examples): Add Jest + Vue Test Utils example * style: Lint * refactor: Rename button component & fix lint errors * refactor: Use export default * refactor: Babel 7 setup
21 lines
292 B
Vue
21 lines
292 B
Vue
<template>
|
|
<section class="container">
|
|
<div>
|
|
<h1 class="title">
|
|
jest-vtu-example
|
|
</h1>
|
|
<Btn label="click me!" />
|
|
</div>
|
|
</section>
|
|
</template>
|
|
|
|
<script>
|
|
import Btn from '~/components/Btn/Btn.vue'
|
|
|
|
export default {
|
|
components: {
|
|
Btn
|
|
}
|
|
}
|
|
</script>
|