naive-ui/demo/setup.js
2021-06-02 17:51:13 +08:00

13 lines
457 B
JavaScript

import ComponentDemo from './utils/ComponentDemo.vue'
import ComponentDemos from './utils/ComponentDemos'
import EditOnGithubHeader from './utils/EditOnGithubHeader.vue'
import './styles/demo.css'
import 'vfonts/Inter.css'
import 'vfonts/FiraCode.css'
export function installDemoComponents (app) {
app.component('ComponentDemo', ComponentDemo)
app.component('ComponentDemos', ComponentDemos)
app.component('EditOnGithubHeader', EditOnGithubHeader)
}