mirror of https://github.com/vuejs/vitepress
Fixes the case when using a completely custom theme, importing anything from vitepress causes the entire default theme to be imported too. BREAKING CHANGE: the default theme is now exposed via 'vitepress/theme', instead of a named export from 'vitepress'.pull/207/head
parent
4072dc5f7e
commit
a79e1e1916
@ -0,0 +1,3 @@
|
|||||||
|
// so that users can do `import DefaultTheme from 'vitepress/theme'`
|
||||||
|
import DefaultTheme from './dist/client/theme-default/index'
|
||||||
|
export default DefaultTheme
|
Loading…
Reference in new issue