GithubHelp home page GithubHelp logo

Comments (36)

xkcoding avatar xkcoding commented on May 22, 2024 1

@meteorlxy 请问评论支持按时间倒序排列吗??

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024 1

@baixiaoyu2997

lang是必须的,参考现在的文档

==== 更新 ====

v1.0.0-alpha.20 版本如果用户不设置 lang,默认使用 en-US,不是必须的啦。

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024 1

@glitzma 因为你文章的评论没配置好,可以在themeConfig.comments里面加上autoCreateIssue: false

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024 1

@libailibai 不支持哈

from vuepress-theme-meteorlxy.

baixiaoyu2997 avatar baixiaoyu2997 commented on May 22, 2024

更新:原来是我没放到docs目录下,现在可以了

你好,我按照你这个使用指南并没有跑起来,
"vuepress": "^1.0.0-alpha.39"
"vuepress-theme-meteorlxy": "^1.0.0-alpha.11"
我的目录结构跟你一样的,但是build之后没有html页面产出

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024

@baixiaoyu2997

目录结构只是个示例,遵从 Vuepress 的规则即可,具体放到哪个目录下按照自己的习惯来就好了

from vuepress-theme-meteorlxy.

baixiaoyu2997 avatar baixiaoyu2997 commented on May 22, 2024

作者你好,我在弄SEO的时候发现百度是支持自动推送这个方法的,所以在想能否在像TheHeaderBanner这种组件每个页都会触发的地方,写入自动推送代码?我在本地改了你的代码,发到github pages上测是没问题的,但是感觉不够优雅,写成plugin是否更好?下面是我的代码

// TheHeaderBanner.vue
mounted(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
  }

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024

@baixiaoyu2997

写成Plugin,把 mounted 写到 clientRootMixin 里面比较好。

这样可以不改主题代码,自己加一个 plugin 就行了

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024

@xkcoding

可以查看 Vssue 文档 - 支持的平台

主要的问题是目前 Github API V3 不支持评论排序,换成 GitLab 的话是支持最完善的。

from vuepress-theme-meteorlxy.

baixiaoyu2997 avatar baixiaoyu2997 commented on May 22, 2024

lang是必须配的吗?因为我没有设置会报错Cannot read property 'createdAt' of undefined,配上就好了。
"vuepress-theme-meteorlxy": "^1.0.0-alpha.19"
"vuepress": "^1.0.0-alpha.40",

from vuepress-theme-meteorlxy.

zhangzippo avatar zhangzippo commented on May 22, 2024

设置评论遇到The redirect_uri MUST match the registered callback URL for this application错误,请问是什么原因,我确认设置都没有问题

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024

@zhangzippo

如果是用的 GitLab,参考 meteorlxy/vssue#30

如果用的是 GitHub 或者 Bitbucket,参考 Vssue文档

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024

@zhangzippo 我进去试了没看到 The redirect_uri MUST match the registered callback URL for this application 的问题啊。你不会是在本地开发的时候遇到的吧

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024

@zhangzippo 你的应该是线上部署问题,你直接进博客页面就是404:
https://zhangzippo.github.io/posts/2019/04/13/_201904132253.html

from vuepress-theme-meteorlxy.

zhangzippo avatar zhangzippo commented on May 22, 2024

@meteorlxy

@zhangzippo 你的应该是线上部署问题,你直接进博客页面就是404:
https://zhangzippo.github.io/posts/2019/04/13/_201904132253.html

谢谢

from vuepress-theme-meteorlxy.

summer1874 avatar summer1874 commented on May 22, 2024

你好,请问会支持搜索,和tag么

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024

@summer1874

Emmmm目前是已经支持了的

from vuepress-theme-meteorlxy.

summer1874 avatar summer1874 commented on May 22, 2024

"vuepress": "^1.0.0-alpha.41",
"vuepress-theme-meteorlxy": "^1.0.0-alpha.22"

按照指南报错 Error: Cannot find module '@vuepress/core/lib/prepare

项目地址 https://github.com/summer1874/test-blog

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024

@summer1874

请尝试使用最新版本

from vuepress-theme-meteorlxy.

summer1874 avatar summer1874 commented on May 22, 2024

@meteorlxy

@summer1874

请尝试使用最新版本

已经可以了,不过有个小问题 ,点击标签页面后页面无对应blog http://summery1874.site/posts/tags/vue.html

from vuepress-theme-meteorlxy.

Rocinantie avatar Rocinantie commented on May 22, 2024

你好,文章内无法显示目录,如何解决?
批注 2019-05-17 100852.png

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024

@Rocinantie

你好,文章内无法显示目录,如何解决?

<TOC> 组件在 @vuepress/[email protected] 版本被临时移除了:vuejs/vuepress@fbbd677

建议先用 alpha.47 或之前版本。注意 vuepress 的 alpha 版本没有锁定版本号,你安装 [email protected],但是对应的 @vuepress/core 可能还是 1.0.0-alpha.48,所以可能需要单独再锁一下 @vuepress/core 的版本号。(这个贼坑,我很早就给 vuepress 提过,但是在 40 还是 41 锁定了一两个版本之后,又莫名其妙改回去了)

--- 题外话 ---

Vuepress 现在的 1.0.0-alpha 坑有点多,所以想要玩 vuepress 搭博客的话做好自己多折腾的准备 😅

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024

@Rocinantie

主题版本 1.0.0-alpha.37 已修复

from vuepress-theme-meteorlxy.

ValentinZhao avatar ValentinZhao commented on May 22, 2024

能否提供一个多语言版本切换的功能呢?把多种不同语言的文章放在不同的二级路由分别访问这样

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024

@ValentinZhao

能否提供一个多语言版本切换的功能呢?把多种不同语言的文章放在不同的二级路由分别访问这样

嗯,之前也有人提过了(#44),觉得这种需求可能不多所以还没弄,会考虑改一下的哈

话说之前的老哥开的 Issue 有点随意,你有时间的话能不能帮忙重开一个,具体讲一下希望什么功能叻

from vuepress-theme-meteorlxy.

llorz-o avatar llorz-o commented on May 22, 2024

博主牛逼啊

from vuepress-theme-meteorlxy.

OOXXXX avatar OOXXXX commented on May 22, 2024

您好,我想问一下如果博客头像上的随机图案想换成自定义的图像背景,或者自定义的Css该如何操作呢。

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024

@OOXXXX

您好,我想问一下如果博客头像上的随机图案想换成自定义的图像背景,或者自定义的Css该如何操作呢。

#32 是关于这个功能的,不过拖延了好久还挂着,过段时间我会处理一下 。

目前的话你可以给 .info-card-header 加样式, 然后用 !important 覆盖一下 😅。

from vuepress-theme-meteorlxy.

OOXXXX avatar OOXXXX commented on May 22, 2024

from vuepress-theme-meteorlxy.

shenxiang11 avatar shenxiang11 commented on May 22, 2024
module.exports = {
  markdown: {
    lineNumbers: true
  }
}  

这个配置似乎不支持了,是主题问题吗?

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on May 22, 2024

@shenxiang11 可以正常支持没问题呀

from vuepress-theme-meteorlxy.

shenxiang11 avatar shenxiang11 commented on May 22, 2024

@meteorlxy

@shenxiang11 可以正常支持没问题呀

是我搞错了,往 themeConfig里加了,打扰了

from vuepress-theme-meteorlxy.

yuchanns avatar yuchanns commented on May 22, 2024

已找到方法。
在.vuepress/enhanceApp.js里import主题css即可

// .vuepress/enhanceApp.js
import 'prismjs/themes/prism-funky.css'

export default ({
  Vue,
  options,
  router,
  siteData
}) => {}

==================分割线================
请问一下,我想要修改代码块的颜色主题,有没有什么比较方便的方法?看了vuepress的源码,是在默认主题的styles/code.styl中定义的。应该也可以在.vuepress/styles中实现类似的自定义?对vuepress不是很了解,想请教一下本主题作者的有什么建议:smiley:

from vuepress-theme-meteorlxy.

go-bai avatar go-bai commented on May 22, 2024

请问评论系统支持valine吗

from vuepress-theme-meteorlxy.

cnguu avatar cnguu commented on May 22, 2024

喵喵喵 🍎

from vuepress-theme-meteorlxy.

luisxue avatar luisxue commented on May 22, 2024

看看

from vuepress-theme-meteorlxy.

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.