element-plus/docs/.vitepress/vitepress/index.ts
三咲智子 d28d0701d7
docs: improve code (#5040)
* docs: remove unused code

* refactor(docs): improve code
2021-12-30 19:00:11 +08:00

31 lines
1016 B
TypeScript

import 'normalize.css'
// import 'element-plus/dist/index.css'
// for dev
import '../../../packages/theme-chalk/src/index.scss'
import './styles/app.scss'
import VPApp from './components/vp-app.vue'
import VPDemo from './components/vp-demo.vue'
import Changelog from './components/globals/vp-changelog.vue'
import MainColor from './components/globals/main-color.vue'
import NeutralColor from './components/globals/neutral-color.vue'
import SecondaryColors from './components/globals/secondary-colors.vue'
import IconList from './components/globals/icons.vue'
import ParallaxHome from './components/globals/parallax-home.vue'
import type { Component } from 'vue'
export { default as NotFound } from './components/vp-not-found.vue'
export default VPApp
export const globals: [string, Component][] = [
['Demo', VPDemo],
['MainColor', MainColor],
['NeutralColor', NeutralColor],
['SecondaryColors', SecondaryColors],
['IconList', IconList],
['Changelog', Changelog],
['ParallaxHome', ParallaxHome],
]