@xcpcio/board

0.1.17 • Public • Published

XCPCIO-Board

Test GitHub release License jsDelivr

Deploying

git clone https://github.com/XCPCIO/board.git

# Installation dependencies
pnpm install

# start http server
pnpm start

# build the project
pnpm build

Configuration

配置文件在主目录下的 config.ts

{
    title: 'Board - XCPCIO',
    publicPath: '/',
    // 数据源的前缀目录,该部分会在发送request请求时自动加在请求地址的前缀
    data_host: '/data/',
    metas: [
        {
            name: 'keywords',
            content: 'icpc, ccpc, board, rank, standings'
        },
        {
            name: 'description',
            content: 'XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。'
        },
    ],
    // 本地开发时数据源的代理地址
    proxy: {
        '/data': {
            target: 'https://board.xcpcio.com',
            changeOrigin: true,
        },
    },
};

License

MIT.

👏 Our Supporters

↳ Stargazers

Stargazers repo roster for @XCPCIO/board



Back to top

Readme

Keywords

none

Package Sidebar

Install

npm i @xcpcio/board

Weekly Downloads

0

Version

0.1.17

License

MIT

Unpacked Size

1.75 MB

Total Files

7

Last publish

Collaborators

  • dup4