mirror of
https://github.com/Ssl1S/json-schema-editor-vue.git
synced 2025-12-30 01:37:55 +08:00
Initial
This commit is contained in:
7
packages/json-schema-editor/index.js
Normal file
7
packages/json-schema-editor/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import JsonSchemaEditor from './main.vue'
|
||||
|
||||
JsonSchemaEditor.install = function (Vue) {
|
||||
Vue.component(JsonSchemaEditor.name, JsonSchemaEditor)
|
||||
}
|
||||
|
||||
export default JsonSchemaEditor
|
||||
19
packages/json-schema-editor/main.vue
Normal file
19
packages/json-schema-editor/main.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<div class="json-schema-editor">
|
||||
json-schema-editor
|
||||
<a-input/>
|
||||
<a-button type="primary">测试按钮</a-button>
|
||||
<a-icon type="step-backward" />
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { Button, Input, Icon } from 'ant-design-vue'
|
||||
export default {
|
||||
name: 'JsonSchemaEditor',
|
||||
components: {
|
||||
AButton: Button,
|
||||
AInput: Input,
|
||||
AIcon:Icon
|
||||
}
|
||||
}
|
||||
</script>
|
||||
0
packages/json-schema-editor/type.js
Normal file
0
packages/json-schema-editor/type.js
Normal file
Reference in New Issue
Block a user