Giter VIP home page Giter VIP logo

blog_vuecode's Introduction

🌈 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

测试构建

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

blog_vuecode's People

Contributors

leocat81 avatar

Stargazers

 avatar

Watchers

 avatar

blog_vuecode's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.