Use Vue Component

Use Vue component as chapter content:

book.chapter({
  title: 'Hello',
  content: require('./hello.vue'),
  // Or lazy loading:
  // content: () => import('./hello.vue')
})