index.ts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import 'normalize.css'
  2. // import 'element-plus/dist/index.css'
  3. // for dev
  4. // reset
  5. import '../../../packages/theme-chalk/src/reset.scss'
  6. import '../../../packages/theme-chalk/src/index.scss'
  7. // for dark mode
  8. import '../../../packages/theme-chalk/src/dark/css-vars.scss'
  9. import './styles/css-vars.scss'
  10. import './styles/app.scss'
  11. import 'uno.css'
  12. import VPApp from './components/vp-app.vue'
  13. import VPDemo from './components/vp-demo.vue'
  14. import ApiTyping from './components/globals/vp-api-typing.vue'
  15. import ApiFunctionType from './components/globals/vp-api-function.vue'
  16. import ApiBooleanType from './components/globals/vp-api-bool.vue'
  17. import ApiStringType from './components/globals/vp-api-string.vue'
  18. import ApiNumberType from './components/globals/vp-api-number.vue'
  19. import ApiRefType from './components/globals/vp-api-ref.vue'
  20. import ApiEnumType from './components/globals/vp-api-enum.vue'
  21. import ApiExternalType from './components/globals/vp-api-external.vue'
  22. import IconList from './components/globals/icons.vue'
  23. import type { Component } from 'vue'
  24. export { default as NotFound } from './components/vp-not-found.vue'
  25. export default VPApp
  26. export const globals: [string, Component][] = [
  27. ['Demo', VPDemo],
  28. ['IconList', IconList],
  29. ['ApiTyping', ApiTyping],
  30. ['FunctionType', ApiFunctionType],
  31. ['EnumType', ApiEnumType],
  32. ['BooleanType', ApiBooleanType],
  33. ['StringType', ApiStringType],
  34. ['NumberType', ApiNumberType],
  35. ['RefType', ApiRefType],
  36. ['ExternalType', ApiExternalType],
  37. ]