lewiscutey / blog

我的技术博客
https://lewiscutey.github.io/blog
11 stars 8 forks source link

vuepress折腾记 | HOME #8

Open lewiscutey opened 6 years ago

lewiscutey commented 6 years ago

https://lewiscutey.github.io/blog/blog/vuepress-theme-toos.html

lewis's blog

lewiscutey commented 6 years ago

欢迎使用我的小工具vuepress-init

dkl520 commented 6 years ago

评论系统怎呢做的??求指点

lewiscutey commented 6 years ago

@dkl520 评论系统怎呢做的??求指点

https://gitalk.github.io/ 这个很详细的,了解一下

ywbjja commented 5 years ago

博客页怎么做出来啊

lewiscutey commented 5 years ago

@ywbjja 博客页怎么做出来啊

参照目录结构中的blog目录,下面必须有index.md用来生成文章目录

Castleeee commented 5 years ago

我的md里面的图可以加载出来,首页图和右上角的图加载不出来,一直404

lewiscutey commented 5 years ago

@Castleeee 我的md里面的图可以加载出来,首页图和右上角的图加载不出来,一直404

加载不出来看下是不是路径的问题,首页的图片配置在文件夹docs下的README.md中

huoher commented 5 years ago

你好,我在执行新建文章时 npm run new blogname.md出现错误,我已经安装了yubisaki-shell

lewiscutey commented 5 years ago

@huoher 你好,我在执行新建文章时 npm run new blogname.md出现错误,我已经安装了yubisaki-shell

全局安装一下yubisaki-shell,你可以先执行一下yubisaki检查是否安装成功,或者把报错截图发一下。

zou1234 commented 5 years ago

VuePress dev server listening at http://localhost:8080/blog/ (node:10252) UnhandledPromiseRejectionWarning: TypeError: res.getHeader is not a function 报在这个错

lewiscutey commented 5 years ago

@gitldy1013 想问一下博主为啥md文件是中文名字就没有自动生成上/下一篇的链接

网络资源时url路径默认是utf-8编码,中文是gbk格式,无法编码的,前端第一课就告诉我们URL需用小写字符。

lewiscutey commented 5 years ago

@zou1234 VuePress dev server listening at http://localhost:8080/blog/ (node:10252) UnhandledPromiseRejectionWarning: TypeError: res.getHeader is not a function 报在这个错

https://segmentfault.com/a/1190000018511676 参考这个解决

stephenlaichaowen commented 5 years ago

npm run dev報錯以下信息, 該如何解決呢 ? Error: [vuepress] Failed to load custom theme "yubisaki". File vuepress-theme-yubisaki/Layout.vue does not exist. at resolveOptions (C:\My Projects\Vue Projects\myblog\node_modules\vuepress\lib\prepare\resolveOptions.js:69:15) at prepare (C:\My Projects\Vue Projects\myblog\node_modules\vuepress\lib\prepare\index.js:11:25) at dev (C:\My Projects\Vue Projects\myblog\node_modules\vuepress\lib\dev.js:23:25) at args (C:\My Projects\Vue Projects\myblog\node_modules\vuepress\bin\vuepress.js:105:12) at Command.program.command.description.option.option.option.action (C:\My Projects\Vue Projects\myblog\node_modules\vuepress\bin\vuepress.js:32:21) at Command.listener (C:\My Projects\Vue Projects\myblog\node_modules\commander\index.js:315:8) at emitTwo (events.js:126:13) at Command.emit (events.js:214:7) at Command.parseArgs (C:\My Projects\Vue Projects\myblog\node_modules\commander\index.js:651:12) at Command.parse (C:\My Projects\Vue Projects\myblog\node_modules\commander\index.js:474:21) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! blog@1.0.0 dev: vuepress dev docs npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the blog@1.0.0 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\YiSD\AppData\Roaming\npm-cache_logs\2019-05-13T15_20_28_026Z-debug.log

stephenlaichaowen commented 5 years ago

我安裝了yubisaki

lewiscutey commented 5 years ago

我安裝了yubisaki

现在还有问题吗?需要全局安装yubisaki-shell的。

CYi1113 commented 4 years ago

博主我这边安装了yubisaki 然后本地启动项目报错, image,我安装了这个主题vuepress-theme-yubisaki 仍然启动不了,请教一下是哪里出问题了

lewiscutey commented 4 years ago

博主我这边安装了yubisaki 然后本地启动项目报错, image,我安装了这个主题vuepress-theme-yubisaki 仍然启动不了,请教一下是哪里出问题了

详情可以看下这个库,https://github.com/Yubisaki/vuepress-theme-yubisaki/,只支持vuepress1.0的版本,看下是不是 你的vuepress版本太高导致这个主题不兼容

CYi1113 commented 4 years ago

博主我这边安装了yubisaki 然后本地启动项目报错, image,我安装了这个主题vuepress-theme-yubisaki 仍然启动不了,请教一下是哪里出问题了

详情可以看下这个库,https://github.com/Yubisaki/vuepress-theme-yubisaki/,只支持vuepress1.0的版本,看下是不是 你的vuepress版本太高导致这个主题不兼容 刚检查了一下,我目前的vuepress 版本是1.0.6的 = = 感谢博主

lewiscutey commented 4 years ago

博主我这边安装了yubisaki 然后本地启动项目报错, image,我安装了这个主题vuepress-theme-yubisaki 仍然启动不了,请教一下是哪里出问题了

详情可以看下这个库,https://github.com/Yubisaki/vuepress-theme-yubisaki/,只支持vuepress1.0的版本,看下是不是 你的vuepress版本太高导致这个主题不兼容 刚检查了一下,我目前的vuepress 版本是1.0.6的 = = 感谢博主

"dependencies": { "@vssue/api-github-v3": "^0.5.0", "@vssue/vuepress-plugin-vssue": "^0.5.0", "@vuepress/plugin-back-to-top": "^1.0.0-alpha.23", "@vuepress/plugin-google-analytics": "^1.0.0-alpha.23", "@vuepress/plugin-medium-zoom": "^1.0.0-alpha.23", "@vuepress/plugin-pwa": "^1.0.0-alpha.23", "@vuepress/plugin-register-components": "^1.0.0-alpha.23", "@yubisaki/vuepress-plugin-blog": "^0.1.8", "@yubisaki/vuepress-plugin-pagination": "^0.1.9", "html2canvas": "^1.0.0-alpha.12", "markdown-it-imsize": "^2.0.1", "markdown-it-task-lists": "^2.1.1", "vssue": "^0.5.0", "vuepress": "^1.0.0-alpha.46", "vuepress-plugin-flowchart": "^1.4.2", "vuepress-theme-yubisaki": "^3.1.9" } 给你看下我的依赖,好久没看这个东西了😳

CYi1113 commented 4 years ago

博主我这边安装了yubisaki 然后本地启动项目报错, image,我安装了这个主题vuepress-theme-yubisaki 仍然启动不了,请教一下是哪里出问题了

详情可以看下这个库,https://github.com/Yubisaki/vuepress-theme-yubisaki/,只支持vuepress1.0的版本,看下是不是 你的vuepress版本太高导致这个主题不兼容 刚检查了一下,我目前的vuepress 版本是1.0.6的 = = 感谢博主

"dependencies": { "@vssue/api-github-v3": "^0.5.0", "@vssue/vuepress-plugin-vssue": "^0.5.0", "@vuepress/plugin-back-to-top": "^1.0.0-alpha.23", "@vuepress/plugin-google-analytics": "^1.0.0-alpha.23", "@vuepress/plugin-medium-zoom": "^1.0.0-alpha.23", "@vuepress/plugin-pwa": "^1.0.0-alpha.23", "@vuepress/plugin-register-components": "^1.0.0-alpha.23", "@yubisaki/vuepress-plugin-blog": "^0.1.8", "@yubisaki/vuepress-plugin-pagination": "^0.1.9", "html2canvas": "^1.0.0-alpha.12", "markdown-it-imsize": "^2.0.1", "markdown-it-task-lists": "^2.1.1", "vssue": "^0.5.0", "vuepress": "^1.0.0-alpha.46", "vuepress-plugin-flowchart": "^1.4.2", "vuepress-theme-yubisaki": "^3.1.9" } 给你看下我的依赖,好久没看这个东西了😳

我装了一下我缺少的依赖,启动给我来个句 Cannot find module 'toml' ,我人傻了😢