element-plus/docs/.vitepress/vitepress/index.ts
三咲智子 851242e317
feat(docs): add source and contributors (#6044)
* feat(docs): add source and contributors

closes #6038

* feat(docs): ignore contributor when dev

* ci: add github token

* fix: lint

* fix: page

* fix: placeholder

* ci: remove preview
2022-04-08 00:40:25 +08:00

46 lines
1.5 KiB
TypeScript

import 'normalize.css'
// import 'element-plus/dist/index.css'
// for dev
// reset
import '../../../packages/theme-chalk/src/reset.scss'
import '../../../packages/theme-chalk/src/index.scss'
// for dark mode
import '../../../packages/theme-chalk/src/dark/css-vars.scss'
import './styles/css-vars.scss'
import './styles/app.scss'
import 'uno.css'
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 Resource from './components/globals/resource.vue'
import DesignGuide from './components/globals/design-guide.vue'
import Contributors from './components/globals/contributors.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],
['Resource', Resource],
['DesignGuide', DesignGuide],
['Contributors', Contributors],
]