Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lastUpdated选项 #407

Closed
RonaldZhao opened this issue May 11, 2018 · 11 comments
Closed

lastUpdated选项 #407

RonaldZhao opened this issue May 11, 2018 · 11 comments

Comments

@RonaldZhao
Copy link

这个参数是只要设置为true或者一个字符串就可以了还是还需要怎么样?我怎么弄都显示不出来更新时间。求助~我的config.js

@meteorlxy
Copy link
Member

meteorlxy commented May 11, 2018

这个要显示出来时间,需要:

  1. 项目已经通过git init初始化为一个git repo
  2. 想要显示时间的.md至少commit过一次

其实个lastUpdate选项就是显示当前页面的md文件最后一次在commit中修改的时间。

哦对了,不能用0.8.4版本,这个新功能还没在新版本发布

@RonaldZhao
Copy link
Author

RonaldZhao commented May 11, 2018 via email

@meteorlxy
Copy link
Member

meteorlxy commented May 11, 2018

你的项目根目录就是你提供的那个地址吗?那你是用global vuepress来build?

如果是的话,我猜你用的是vuepress的0.8.4版本

目前Evan大大顾不上这个项目,我们也暂时没有发布新的npm package的权限,所以很多新功能都没有更新到npm上面。想用的话可以暂时clone官方仓库,用link的方式在自己的项目中引入。

@RonaldZhao
Copy link
Author

RonaldZhao commented May 11, 2018 via email

@meteorlxy
Copy link
Member

你直接npm安装的0.8.4版本,没有这个功能

@meteorlxy
Copy link
Member

@RonaldZhao 你不要只用邮件回了,改了很多东西你都没看到

@ulivz
Copy link
Member

ulivz commented May 11, 2018

Thank you for waiting, No accident, we will release 0.9.0 tomorrow !
谢谢你的等待,不出意外,我们明天会 release 0.9.0!

@RonaldZhao
Copy link
Author

所以明天这个功能就官方支持了?期待~~~~~~

@ulivz ulivz added the 0.9.0 label May 11, 2018
@ulivz
Copy link
Member

ulivz commented May 11, 2018

Closing it since I have open a pre-release issue at #419

@ulivz ulivz closed this as completed May 11, 2018
@xkcoding
Copy link

@ulivz @RonaldZhao @meteorlxy I have been update the 0.9.0, but it still doesn't work. it's my config.js and my page

@tangrenshushu
Copy link

显示是显示了,就是无论怎么commit,时间都不再更新了。很是奇怪。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants