Register components

WARNING

Please refer to Guide/Style for writing style.

By default, the theme registers the .vue components under /.vuepress/components globally.

If our documentation project is stored in a subdirectory of the project, such as the /docs folder, we need to set themeConfig.componentsDir to ./docs/.vuepress/components.