zkt-oss
直客通阿里云文件管理器
用法
<template>
<oss :clientConfig="clientConfig"></oss>
</template>
<script type="text/javascript">
import oss from 'zkt-oss'
export default {
components: {
OSS
},
data () {
return {
clientConfig: {
accessKeyId: 'xxx',
accessKeySecret: 'xxx'
}
}
}
}
</script>
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# 发布
npm version <major|minor|patch>
For detailed explanation on how things work, consult the docs for vue-loader.