✨使用 vuepress 构建的个人博客。✨
⚡1.npm install⚡
⚡2.npm run docs:dev⚡
⛄
npm run docs:build
⛄
!!! 因为@vssue/api-gitee-v5 包存在问题,所有 npm 下载@vssue/api-gitee-v5 包后,需要去 node_modules 里@vssue/api-gitee-v5/lib/index.js
const { data } = await this.$http.post(originalURL, { //proxyURL换为originalURL
client_id: this.clientId,
client_secret: this.clientSecret,
code,
grant_type: 'authorization_code',
redirect_uri: window.location.href,
});
return data.access_token;
}