naive-ui/demo/init.js

19 lines
849 B
JavaScript
Raw Normal View History

import ComponentDemo from './utils/ComponentDemo.vue'
2020-11-02 19:07:07 +08:00
import ComponentDemos from './utils/ComponentDemos.js'
import ComponentDocumentation from './utils/ComponentDocumentation.vue'
2020-11-02 19:07:07 +08:00
import DocumentationWrapper from './utils/DocumentationWrapper.js'
import EditOnGithubButton from './utils/EditOnGithubButton.vue'
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('DocumentationWrapper', DocumentationWrapper)
app.component('ComponentDocumentation', ComponentDocumentation)
app.component('EditOnGithubButton', EditOnGithubButton)
app.component('EditOnGithubHeader', EditOnGithubHeader)
}