cnpm install ipfs-http-client --save
//main.js
import ipfsClient from 'ipfs-http-client'
Vue.prototype.ipfs = ipfs //挂载到全局
Sort: Trending
cnpm install ipfs-http-client --save
//main.js
import ipfsClient from 'ipfs-http-client'
Vue.prototype.ipfs = ipfs //挂载到全局