颜色滴定
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.0 KiB

3 weeks ago
3 weeks ago
3 weeks ago
  1. import * as ElementPlusIconsVue from '@element-plus/icons-vue'
  2. import FtButton from 'components/common/FTButton/index.vue'
  3. import FtChart from 'components/common/FTChart/index.vue'
  4. import FtDialog from 'components/common/FTDialog/index.vue'
  5. import FtStream from 'components/common/FTStream/index.vue'
  6. import FtTable from 'components/common/FTTable/index.vue'
  7. import ElementPlus from 'element-plus'
  8. import locale from 'element-plus/es/locale/lang/zh-cn'
  9. import pinia from 'stores/index'
  10. import { createApp } from 'vue'
  11. import App from './app.vue'
  12. import router from './router'
  13. import 'element-plus/dist/index.css'
  14. import 'assets/styles/main.scss'
  15. const app = createApp(App)
  16. for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  17. app.component(key, component)
  18. }
  19. app.use(pinia)
  20. app.component('FtTable', FtTable)
  21. app.component('FtButton', FtButton)
  22. app.component('FtDialog', FtDialog)
  23. app.component('FtStream', FtStream)
  24. app.component('FtChart', FtChart)
  25. app
  26. .use(router)
  27. .use(ElementPlus, { locale, zIndex: 3000 })
  28. .mount('#app')