handy-ui
How to use it.
import Handy from '@jerecui/handy-ui'
Vue.use(Handy, {
store, // your vuex store
schemas: [...], // schemas
request,
tinymce: {
apiKey: 'your tiny mce api key'
},
qiniu: {
getToken: {
url: '/qiniu/upload/token', // please change to your path
method: 'get'
},
fetchFile: {
url: '/qiniu/fetch',
method: 'post'
},
upload: {
url: 'https://up-z2.qiniup.com'
}
},
message: (msg) => Vue.prototype.$message(msg) // used to show the message.
})