This commit is contained in:
张亚强
2020-06-25 12:12:31 +08:00
parent 67402224f2
commit b1d67811bd
14 changed files with 594 additions and 76 deletions

22
examples/App.vue Normal file
View File

@@ -0,0 +1,22 @@
<template>
<div id="app">
<json-schema-editor/>
</div>
</template>
<script>
export default {
name: 'App'
}
</script>
<style>
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
}
</style>

BIN
examples/assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

10
examples/main.js Normal file
View File

@@ -0,0 +1,10 @@
import Vue from 'vue'
import App from './App.vue'
import JsonSchemaEditor from '../packages/json-schema-editor/index'
Vue.config.productionTip = false
Vue.use(JsonSchemaEditor)
new Vue({
render: h => h(App),
}).$mount('#app')