安装 Naive UI、字体、图标。

This commit is contained in:
2022-12-27 11:05:49 +08:00
parent 5591d3fd19
commit f046f46257
3 changed files with 229 additions and 0 deletions

View File

@@ -6,9 +6,22 @@ import router from './router'
import './assets/main.css'
import {
// create naive ui
create,
// component
NButton,
} from 'naive-ui'
const naive = create({
components: [NButton],
})
const app = createApp(App)
app.use(createPinia())
app.use(router)
app.use(naive)
app.mount('#app')