Comments (36)
@meteorlxy 请问评论支持按时间倒序排列吗??
from vuepress-theme-meteorlxy.
lang
是必须的,参考现在的文档
==== 更新 ====
v1.0.0-alpha.20 版本如果用户不设置 lang
,默认使用 en-US
,不是必须的啦。
from vuepress-theme-meteorlxy.
@glitzma 因为你文章的评论没配置好,可以在themeConfig.comments
里面加上autoCreateIssue: false
from vuepress-theme-meteorlxy.
@libailibai 不支持哈
from vuepress-theme-meteorlxy.
更新:原来是我没放到docs目录下,现在可以了
你好,我按照你这个使用指南并没有跑起来,
"vuepress": "^1.0.0-alpha.39"
"vuepress-theme-meteorlxy": "^1.0.0-alpha.11"
我的目录结构跟你一样的,但是build之后没有html页面产出
from vuepress-theme-meteorlxy.
目录结构只是个示例,遵从 Vuepress 的规则即可,具体放到哪个目录下按照自己的习惯来就好了
from vuepress-theme-meteorlxy.
作者你好,我在弄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.
写成Plugin,把 mounted
写到 clientRootMixin 里面比较好。
这样可以不改主题代码,自己加一个 plugin 就行了
from vuepress-theme-meteorlxy.
可以查看 Vssue 文档 - 支持的平台。
主要的问题是目前 Github API V3 不支持评论排序,换成 GitLab 的话是支持最完善的。
from vuepress-theme-meteorlxy.
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.
设置评论遇到The redirect_uri MUST match the registered callback URL for this application错误,请问是什么原因,我确认设置都没有问题
from vuepress-theme-meteorlxy.
如果是用的 GitLab,参考 meteorlxy/vssue#30
如果用的是 GitHub 或者 Bitbucket,参考 Vssue文档
from vuepress-theme-meteorlxy.
@zhangzippo 我进去试了没看到 The redirect_uri MUST match the registered callback URL for this application
的问题啊。你不会是在本地开发的时候遇到的吧
from vuepress-theme-meteorlxy.
@zhangzippo 你的应该是线上部署问题,你直接进博客页面就是404:
https://zhangzippo.github.io/posts/2019/04/13/_201904132253.html
from vuepress-theme-meteorlxy.
@zhangzippo 你的应该是线上部署问题,你直接进博客页面就是404:
https://zhangzippo.github.io/posts/2019/04/13/_201904132253.html
谢谢
from vuepress-theme-meteorlxy.
你好,请问会支持搜索,和tag么
from vuepress-theme-meteorlxy.
Emmmm目前是已经支持了的
from vuepress-theme-meteorlxy.
"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.
请尝试使用最新版本
from vuepress-theme-meteorlxy.
请尝试使用最新版本
已经可以了,不过有个小问题 ,点击标签页面后页面无对应blog http://summery1874.site/posts/tags/vue.html
from vuepress-theme-meteorlxy.
from vuepress-theme-meteorlxy.
你好,文章内无法显示目录,如何解决?
<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.
主题版本 1.0.0-alpha.37 已修复
from vuepress-theme-meteorlxy.
能否提供一个多语言版本切换的功能呢?把多种不同语言的文章放在不同的二级路由分别访问这样
from vuepress-theme-meteorlxy.
能否提供一个多语言版本切换的功能呢?把多种不同语言的文章放在不同的二级路由分别访问这样
嗯,之前也有人提过了(#44),觉得这种需求可能不多所以还没弄,会考虑改一下的哈
话说之前的老哥开的 Issue 有点随意,你有时间的话能不能帮忙重开一个,具体讲一下希望什么功能叻
from vuepress-theme-meteorlxy.
博主牛逼啊
from vuepress-theme-meteorlxy.
您好,我想问一下如果博客头像上的随机图案想换成自定义的图像背景,或者自定义的Css该如何操作呢。
from vuepress-theme-meteorlxy.
您好,我想问一下如果博客头像上的随机图案想换成自定义的图像背景,或者自定义的Css该如何操作呢。
#32 是关于这个功能的,不过拖延了好久还挂着,过段时间我会处理一下 。
目前的话你可以给 .info-card-header
加样式, 然后用 !important
覆盖一下 😅。
from vuepress-theme-meteorlxy.
from vuepress-theme-meteorlxy.
module.exports = {
markdown: {
lineNumbers: true
}
}
这个配置似乎不支持了,是主题问题吗?
from vuepress-theme-meteorlxy.
@shenxiang11 可以正常支持没问题呀
from vuepress-theme-meteorlxy.
@shenxiang11 可以正常支持没问题呀
是我搞错了,往 themeConfig里加了,打扰了
from vuepress-theme-meteorlxy.
已找到方法。
在.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.
请问评论系统支持valine吗
from vuepress-theme-meteorlxy.
喵喵喵 🍎
from vuepress-theme-meteorlxy.
看看
from vuepress-theme-meteorlxy.
Related Issues (20)
- [Bug Report] 不可以使用plugin吗?
- [Bug Report] Fail to configure Vssue's `proxy` via `themeConfig.comments.proxy` HOT 2
- [Bug Report] useGeo: true 无法生成随机图片 HOT 1
- [Feature Request] custom home page HOT 1
- [Bug Report] 草稿内容在分类和标签页面展现 HOT 5
- anchor 失效问题 HOT 3
- 关于点击文章分类或标签展示的一个小bug HOT 3
- [Bug Report] 首页点击标签或分类跳转,会显示 draft HOT 1
- [Bug Report] Banner is blank HOT 1
- [Bug Report] build打包后社交媒体图标不显示 HOT 3
- [Feature Request] Img Thumbnail HOT 3
- [Feature Request] 关于社交媒体图标被广告拦截插件屏蔽的优化点 HOT 2
- [Bug Report] palette.styl设置无效,smoothScroll无效 HOT 3
- [Feature Request] add smoothScroll config HOT 4
- 要不要考虑添加一些国内的社交媒体链接?[Feature Request]
- 你好,npm run build编译失败
- [Bug Report] The Header Image doesn't work HOT 1
- Add Dark Mode support [Feature Request] HOT 3
- Add icon setting [Feature Request] HOT 1
- [Bug Report] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuepress-theme-meteorlxy.