import { createApp } from 'vue'
import App from './App.vue'
import MyComponent from '@/components/MyComponent'
import {
  create,
  NSpace,
  NInput,
  NDropdown,
  NIcon,
  NCollapse,
  NCollapseItem,
  NTabs,
  NTabPane,
  NEmpty,
  NButton,
} from 'naive-ui'

const naive = create({
  components: [
    NSpace,
    NInput,
    NDropdown,
    NIcon,
    NCollapse,
    NCollapseItem,
    NTabs,
    NTabPane,
    NEmpty,
    NButton,
  ],
})

createApp(App).use(MyComponent).use(naive).mount('#app')
