vuejs / vitepress

Vite & Vue powered static site generator.
https://vitepress.dev
MIT License
13.29k stars 2.15k forks source link

docs: correct filenames in `guide/extending-default-theme.md` #4177

Closed PhantomPower82 closed 2 months ago

PhantomPower82 commented 2 months ago

Description

Modify filenames to match the previous description (import statement in js code block)

// .vitepress/theme/index.js
import DefaultTheme from 'vitepress/theme-without-fonts'
import './my-fonts.css'
export default DefaultTheme