import{_ as o,c as t,ag as i,o as a}from"./chunks/framework.C1C4sYC0.js";const h=JSON.parse('{"title":"Migration from VitePress 0.x","description":"","frontmatter":{},"headers":[],"relativePath":"guide/migration-from-vitepress-0.md","filePath":"en/guide/migration-from-vitepress-0.md","lastUpdated":1719560776000}'),r={name:"guide/migration-from-vitepress-0.md"};function n(d,e,c,l,s,f){return a(),t("div",null,e[0]||(e[0]=[i('
If you're coming from VitePress 0.x version, there're several breaking changes due to new features and enhancement. Please follow this guide to see how to migrate your app over to the latest VitePress.
sidebar option has changed its structure. children key is now named items.link at the moment. We're planning to bring it back.repo, repoLabel, docsDir, docsBranch, editLinks, editLinkText are removed in favor of more flexible api. lastUpdated option is now split into config.lastUpdated and themeConfig.lastUpdatedText.carbonAds.carbon is changed to carbonAds.code.home: true option has changed to layout: home. Also, many Homepage related settings have been modified to provide additional features. See Home Page guide for details.footer option is moved to themeConfig.footer.