Giter Club home page Giter Club logo

Comments (25)

tianheg avatar tianheg commented on June 2, 2024 1

好的。你有兴趣搞一个么?

好呀,我现在就可以做

Update:

#639

from running_page.

yihong0618 avatar yihong0618 commented on June 2, 2024

yarn install

from running_page.

yihong0618 avatar yihong0618 commented on June 2, 2024

我改下 readme

from running_page.

yihong0618 avatar yihong0618 commented on June 2, 2024

这个该怎么改好一些。
改成 yarn 的原因是 vercel @orionna319

from running_page.

gavenwan avatar gavenwan commented on June 2, 2024

我也尝试了yarn install,提示 fatal:unable to access "https://GitHub.com/tachyons-css/achyons-sass.git",,尝试多次也是如此,手动打开上述地址,是404的

from running_page.

gavenwan avatar gavenwan commented on June 2, 2024

手动忽略错误,继续yarn run build ,会提示vite不是内部程序;
如果用pnpm develop 会提示,this project is configured by yarn

from running_page.

gavenwan avatar gavenwan commented on June 2, 2024

pack里去掉tachyons-sass,然后yarn run build ,在文件夹里手动添加css后,成功build运行

from running_page.

yihong0618 avatar yihong0618 commented on June 2, 2024

我今晚看看

from running_page.

yihong0618 avatar yihong0618 commented on June 2, 2024

谢谢反馈

from running_page.

orionna319 avatar orionna319 commented on June 2, 2024

有ci错误链接地址吗,我本地yarn install && yarn build,都是成功执行的。
image

from running_page.

orionna319 avatar orionna319 commented on June 2, 2024

是不是同步下最新的代码就好了

from running_page.

yihong0618 avatar yihong0618 commented on June 2, 2024

是不是同步下最新的代码就好了

我更新了下代码,#632 这个是因为 vercel 的问题。不知道是不是这个导致的

from running_page.

gavenwan avatar gavenwan commented on June 2, 2024

可能是,我手动改了package解决了问题就没有截图了。有空时我再试试重新下载最新包build一下。目前还在解决keep数据没能把我iphone 健身上的跑步同步完整的问题。

from running_page.

yihong0618 avatar yihong0618 commented on June 2, 2024

可能是,我手动改了package解决了问题就没有截图了。有空时我再试试重新下载最新包build一下。目前还在解决keep数据没能把我iphone 健身上的跑步同步完整的问题。

在issue里搜索,keep默认只有跑步。

from running_page.

tianheg avatar tianheg commented on June 2, 2024

image

其实主要问题在于 tachyons 这个样式库,在 package.json 中不是通过版本号安装的,所以在 Vercel 上找不到。把 tachyons 相关代码删掉就行。

"tachyons-sass": "git+https://github.com/tachyons-css/tachyons-sass.git",

可以考虑换个样式库,比如 tailwind,但这是个大工程,短期内不太容易做到

from running_page.

yihong0618 avatar yihong0618 commented on June 2, 2024

image

其实主要问题在于 tachyons 这个样式库,在 package.json 中不是通过版本号安装的,所以在 Vercel 上找不到。把 tachyons 相关代码删掉就行。

"tachyons-sass": "git+https://github.com/tachyons-css/tachyons-sass.git",

可以考虑换个样式库,比如 tailwind,但这是个大工程,短期内不太容易做到

我们先删代码吧,有兴趣来个 PR 么?

from running_page.

tianheg avatar tianheg commented on June 2, 2024

我们先删代码吧,有兴趣来个 PR 么?

因为很多 CSS 样式是基于 tachyons 的,所以只删除 tachyons 会导致页面没有样式,就像下面这样 :)
image

需要重写样式代码才能完成这个工作

from running_page.

yihong0618 avatar yihong0618 commented on June 2, 2024

我们先删代码吧,有兴趣来个 PR 么?

因为很多 CSS 样式是基于 tachyons 的,所以只删除 tachyons 会导致页面没有样式,就像下面这样 :) image

需要重写样式代码才能完成这个工作

OK 我找找有 fork 没

from running_page.

yihong0618 avatar yihong0618 commented on June 2, 2024
https://github.com/tachyons-css/tachyons-sass.git

我们可以 fork 一个自己发 npm 对吧?

from running_page.

tianheg avatar tianheg commented on June 2, 2024

可以,这样只需要换这个包就行了

from running_page.

yihong0618 avatar yihong0618 commented on June 2, 2024

好的。你有兴趣搞一个么?

  • fork tachyons-css to tachyons-css-fork
  • new package tachyons-css-fork-${version}
  • push to npm
  • change the running_page tachyons-css package

from running_page.

tianheg avatar tianheg commented on June 2, 2024

yihong 哥,还有个问题不太明白。Pnpm 用着不是挺好的吗,怎么就改用 Yarn 了。这个包管理器改来改去的,其实也没必要。

from running_page.

yihong0618 avatar yihong0618 commented on June 2, 2024

yihong 哥,还有个问题不太明白。Pnpm 用着不是挺好的吗,怎么就改用 Yarn 了。这个包管理器改来改去的,其实也没必要。

因为 vercel 报错。。。它自动用的 yarn

from running_page.

tianheg avatar tianheg commented on June 2, 2024

那现在是用 Yarn 还是 Pnpm 呢,tachyons-sass 的问题解决了,Vercel 部署就没问题了吧,我自己测试过了没有错误
image

from running_page.

yihong0618 avatar yihong0618 commented on June 2, 2024

那现在是用 Yarn 还是 Pnpm 呢,tachyons-sass 的问题解决了,Vercel 部署就没问题了吧,我自己测试过了没有错误 image

我研究研究能一起用不。。

from running_page.

Related Issues (20)

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.