Configuration

    The essential file for configuring a VuePress site is .vuepress/config.js, which should export a JavaScript object:

    Consult the Config Reference for a full list of options.

    A VuePress theme is responsible for all the layout and interactivity details of your site. VuePress ships with a default theme (you are looking at it right now) which is designed for technical documentation. It exposes a number of options that allow you to customize the navbar, sidebar and homepage, etc. For details, check out the page.

    Since the VuePress app is a standard Vue app, you can apply app-level enhancements by creating a file , which will be imported into the app if it is present. The file should export default a hook function which will receive an object containing some app level values. You can use this hook to install additional Vue plugins, register global components, or add additional router hooks: