import { createLeapApp } from '@ldesign/desktop-public-next'
import defaultRoutes from '@/config/routes'
import defaultMenus from '@/config/menus'
import '@ldesign/chart/dist/ldesign.css'

import '@ldesign/desktop-next/es/style'

/** 正式环境使用下面的地址 */
// import '@ldesign/desktop-next/es/style/index.css'

// import '@ldesign/desktop-public-next/es/ldesign.css'

/** 初始化LeapApp */
export const app = createLeapApp({
  el: '#app',
  env: import.meta.env,
  files: import.meta.glob('@/**/*.vue'),
  defaultRoutes,
  defaultMenus
})
