naive-ui/demo/init.js
2020-11-02 19:07:07 +08:00

17 lines
794 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'
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)
}