|
1 | 1 | import './styles/fonts.css'
|
2 |
| -import './styles/vars.css' |
3 |
| -import './styles/base.css' |
4 |
| -import './styles/utils.css' |
5 |
| -import './styles/components/custom-block.css' |
6 |
| -import './styles/components/vp-code.css' |
7 |
| -import './styles/components/vp-code-group.css' |
8 |
| -import './styles/components/vp-doc.css' |
9 |
| -import './styles/components/vp-sponsor.css' |
10 |
| - |
11 |
| -import type { Theme } from 'vitepress' |
12 |
| -import VPBadge from './components/VPBadge.vue' |
13 |
| -import Layout from './Layout.vue' |
14 |
| - |
15 |
| -// Note: if we add more optional components here, i.e. components that are not |
16 |
| -// used in the theme by default unless the user imports them, make sure to update |
17 |
| -// the `lazyDefaultThemeComponentsRE` regex in src/node/build/bundle.ts. |
18 |
| -export { default as VPHomeHero } from './components/VPHomeHero.vue' |
19 |
| -export { default as VPHomeFeatures } from './components/VPHomeFeatures.vue' |
20 |
| -export { default as VPHomeSponsors } from './components/VPHomeSponsors.vue' |
21 |
| -export { default as VPDocAsideSponsors } from './components/VPDocAsideSponsors.vue' |
22 |
| -export { default as VPTeamPage } from './components/VPTeamPage.vue' |
23 |
| -export { default as VPTeamPageTitle } from './components/VPTeamPageTitle.vue' |
24 |
| -export { default as VPTeamPageSection } from './components/VPTeamPageSection.vue' |
25 |
| -export { default as VPTeamMembers } from './components/VPTeamMembers.vue' |
26 |
| - |
27 |
| -const theme: Theme = { |
28 |
| - Layout, |
29 |
| - enhanceApp: ({ app }) => { |
30 |
| - app.component('Badge', VPBadge) |
31 |
| - } |
32 |
| -} |
33 | 2 |
|
| 3 | +import theme from './without-fonts.js' |
34 | 4 | export default theme
|
0 commit comments