naive-ui/demo/setup.js

13 lines
457 B
JavaScript
Raw Normal View History

import ComponentDemo from './utils/ComponentDemo.vue'
import ComponentDemos from './utils/ComponentDemos'
import EditOnGithubHeader from './utils/EditOnGithubHeader.vue'
2020-11-01 19:35:00 +08:00
import './styles/demo.css'
2021-01-13 12:01:02 +08:00
import 'vfonts/Inter.css'
import 'vfonts/FiraCode.css'
2020-03-19 18:26:48 +08:00
export function installDemoComponents (app) {
app.component('ComponentDemo', ComponentDemo)
app.component('ComponentDemos', ComponentDemos)
app.component('EditOnGithubHeader', EditOnGithubHeader)
}