2 Star 4 Fork 0

pipe/blog_vuecode

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

🌈 Site

线上预览地址: bl.pipef.top

🦄 Usage

本地运行

  • npm install
  • npm start 或者 npm run docs:dev

打包

  • npm run docs:build

⚠️ Warning

  • 1: 因为@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;
}

该问题已解决,更新 @vssue/vuepress-plugin-vssue 1.4.8 即可解决。

  • 2:应采用了dotenv读取配置文件,所以克隆代码后需要在本地新建文件.env, 然后填写gitee第三方应用的clientId, clientSecret

  • 3: 需采用https部署

  • 4:CI/CD 部署时,需提供配置文件.env,文件里需要配置giteeclientId, clientSecret, 否则无法实现评论功能。

🧱 Contribute

测试构建

欢迎大家在评论区留下自己的意见,博主会第一时间回答。.

空文件

简介

使用vuepress构建的个人博客。 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/pipepandafeng/blog_vuecode.git
git@gitee.com:pipepandafeng/blog_vuecode.git
pipepandafeng
blog_vuecode
blog_vuecode
master

搜索帮助