Giter Club home page Giter Club logo

miki-captain's Introduction

弥希 Miki 的舰长日报

Fetch miki

使用

  1. 点击 Use this template 按钮使用本仓库模板创建一个新的仓库;
  2. 进入刚刚创建的仓库,等待 GitHub Actions 自动清空 data/ 目录下的所有数据,或者手动清空;
  3. 修改 .env 文件中的 直播间 ID 和 UP 主 UID
  4. 默认部署到当前仓库的 gh_pages 分支,你可以使用 GitHub Pages, Vercel, Cloudflare Pages 等平台部署网站。

License

MIT License © 2023 XLor

miki-captain's People

Contributors

github-actions[bot] avatar renovate[bot] avatar yjl9903 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

miki-captain's Issues

在GitHubPage使用此模板部署项目后,子功能页面刷新后均会出现404

Describe the bug

1.由于GitHubPage域名解析逻辑的问题,用户在访问/summary等子功能路径后刷新时会出现404,
将 app/src/router.ts 中的 history: createWebHistory(),改为createWebHashHistory可以解决此问题

2.同时经测试 #17 中提到的
vite build 的时候,添加 --base 参数,例如 vite build app --base /<your_repo_name>/
也无法完全修正显示问题

目前测试过最好的解决方法就是 不进行2中的改动,在GitHubPage通过CNAME的方式使用自定义域名,然后应用1中提到的改的,即可使网站在GitHubPage上正常显示
这里有一个修复过的项目可以看一下 https://github.com/Showeee/Captain

Reproduction

No response

System Info

No response

Used Package Manager

None

页面空白

Describe the bug

大佬您好,我按照您的提示部署后;
setting-pages-branch设置成了gh-pages-root;
css、js无法加载,就比如js文件请求路径是https://cube-yj.github.io/assets/index.09b3b149.js ;
想请教一下应该如何设置.

Reproduction

No response

System Info

No response

Used Package Manager

None

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/fetch.yml
  • actions/checkout v3
  • yjl9903/fetch-captain v0
.github/workflows/gh_pages.yml
  • actions/checkout v3
  • pnpm/action-setup v2.2.2
  • actions/setup-node v3
  • peaceiris/actions-gh-pages v3
npm
package.json
  • csv-parse ^5.2.0
  • date-fns ^2.28.0
  • fireworks-js ^1.4.0
  • random ^3.0.6
  • tippy.js ^6.3.7
  • v-calendar ^3.0.0-alpha.8
  • vue ^3.2.37
  • vue-router ^4.0.16
  • xlsx ^0.18.5
  • @iconify/json ^2.1.68
  • @types/node ^18.0.0
  • @unocss/reset ^0.41.1
  • @vitejs/plugin-vue ^2.3.3
  • axios ^0.27.2
  • pinia ^2.0.14
  • pnpm ^7.3.0
  • prettier ^2.7.1
  • typescript ^4.7.4
  • unocss ^0.41.1
  • unplugin-icons ^0.14.6
  • vite ^2.9.13
  • vitest ^0.16.0
  • pnpm 7.3.0

  • Check this box to trigger a request for Renovate to run again on this repository

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.