mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
19 lines
849 B
JavaScript
19 lines
849 B
JavaScript
import ComponentDemo from './utils/ComponentDemo.vue'
|
|
import ComponentDemos from './utils/ComponentDemos.js'
|
|
import ComponentDocumentation from './utils/ComponentDocumentation.vue'
|
|
import DocumentationWrapper from './utils/DocumentationWrapper.js'
|
|
import EditOnGithubButton from './utils/EditOnGithubButton.vue'
|
|
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('DocumentationWrapper', DocumentationWrapper)
|
|
app.component('ComponentDocumentation', ComponentDocumentation)
|
|
app.component('EditOnGithubButton', EditOnGithubButton)
|
|
app.component('EditOnGithubHeader', EditOnGithubHeader)
|
|
}
|