constructor(typeName, name, path, component, actions) {
    this.typeName = typeName
    this.name = name
    this.path = path
    this.component = component
    this.actions = actions

    if (typeof path === 'string') {
      this.route = actions.createRoute({ path, component })
    }
  }
Find component files and create pages for components
that matches any of the template paths. Watch the paths
in development to act on new or deleted files.